Skip to content

Commit

Permalink
cross repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Jan 2, 2024
1 parent efd867b commit 8be3255
Showing 1 changed file with 34 additions and 29 deletions.
63 changes: 34 additions & 29 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
# distribution: 'zulu'
# java-version: '11'

# - name: Install google chrome
# run: |
# wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
# apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb

# - name: Determine nuxeo-web-ui branch to use
# uses: nuxeo/ui-team-gh-actions/get-branch@ca09d5c52a62e297502d3572c36d813be927982a
# id: pick_nuxeo_web_ui_branch
Expand Down Expand Up @@ -107,8 +112,8 @@
# npm install
# popd

# # - name: Lint Web UI
# # run: npm run lint
# - name: Lint Web UI
# run: npm run lint

# - name: Checkout the nuxeo-elements repo
# uses: actions/checkout@v2
Expand Down Expand Up @@ -149,12 +154,12 @@
# if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'false' }}
# run: npm run test

# # - name: Web UI Unit tests (Sauce Labs)
# # if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'true' }}
# # env:
# # SAUCE_USERNAME: nuxeo-web-ui
# # SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
# # run: npm run test
# - name: Web UI Unit tests (Sauce Labs)
# if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'true' }}
# env:
# SAUCE_USERNAME: nuxeo-web-ui
# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
# run: npm run test

# - name: 'Update settings.xml with server configuration'
# run: |
Expand All @@ -168,26 +173,26 @@
# </servers>
# </settings>' > ~/.m2/settings.xml

# # - name: Nuxeo package build and Ftests
# # env:
# # RUN_ALL: ${{ github.event.inputs.run_all }}
# # BAIL: ${{ github.event.inputs.bail }}
# # run: |
# # profiles=()
# # if [ ${{ github.event.inputs.skip_ftests }} = "false" ]
# # then
# # profiles+=('ftest')
# # fi
# # if ${{ github.event.inputs.generate_metrics }}
# # then
# # profiles+=('metrics')
# # fi
# # active_profiles=""
# # if [ ${#profiles[@]} -gt 0 ]
# # then
# # active_profiles="-P$(printf -v active_profiles '%s,' "${profiles[@]}" && echo "${active_profiles%,}")"
# # fi
# # mvn install -ntp $active_profiles -DskipInstall
# - name: Nuxeo package build and Ftests
# env:
# RUN_ALL: ${{ github.event.inputs.run_all }}
# BAIL: ${{ github.event.inputs.bail }}
# run: |
# profiles=()
# if [ ${{ github.event.inputs.skip_ftests }} = "false" ]
# then
# profiles+=('ftest')
# fi
# if ${{ github.event.inputs.generate_metrics }}
# then
# profiles+=('metrics')
# fi
# active_profiles=""
# if [ ${#profiles[@]} -gt 0 ]
# then
# active_profiles="-P$(printf -v active_profiles '%s,' "${profiles[@]}" && echo "${active_profiles%,}")"
# fi
# mvn install -ntp $active_profiles -DskipInstall

# - name: A11y checks
# if: ${{ github.event.inputs.skip_a11y == 'false' }}
Expand Down Expand Up @@ -225,4 +230,4 @@
# name: packages
# path: |
# plugin/web-ui/marketplace/target/nuxeo-web-ui-marketplace-*.zip
# plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip
# plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip

0 comments on commit 8be3255

Please sign in to comment.