-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WEBUI-1260: need to downgrade chrome browser version
- Loading branch information
1 parent
654b7f1
commit 3d34632
Showing
7 changed files
with
171 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ on: | |
PACKAGES_AUTH_USER: | ||
description: 'PACKAGES_AUTH_USER' | ||
required: true | ||
PACKAGES_AUTH_TOKEN: | ||
PACKAGES_AUTH_TOKEN: | ||
description: 'PACKAGES_AUTH_TOKEN' | ||
required: true | ||
|
||
|
@@ -31,41 +31,45 @@ jobs: | |
a11y: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.BRANCH_NAME }} | ||
- uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.BRANCH_NAME }} | ||
|
||
- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]" | ||
- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]" | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
registry-url: ${{ env.NPM_REPOSITORY }} | ||
node-version: 14 | ||
scope: '@nuxeo' | ||
- uses: actions/setup-node@v3 | ||
with: | ||
registry-url: ${{ env.NPM_REPOSITORY }} | ||
node-version: 14 | ||
scope: '@nuxeo' | ||
|
||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
- name: 'Update settings.xml with server configuration' | ||
run: | | ||
echo '<settings> | ||
<servers> | ||
<server> | ||
<id>maven-internal</id> | ||
<username>${{ secrets.PACKAGES_AUTH_USER }}</username> | ||
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password> | ||
</server> | ||
</servers> | ||
</settings>' > ~/.m2/settings.xml | ||
- name: 'Update settings.xml with server configuration' | ||
run: | | ||
echo '<settings> | ||
<servers> | ||
<server> | ||
<id>maven-internal</id> | ||
<username>${{ secrets.PACKAGES_AUTH_USER }}</username> | ||
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password> | ||
</server> | ||
</servers> | ||
</settings>' > ~/.m2/settings.xml | ||
- name: Web UI build | ||
run: mvn -B -ntp install | ||
- name: Web UI build | ||
run: mvn -B -ntp install | ||
|
||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved. | ||
#================================================================================================================== | ||
# - name: A11y checks | ||
# run: mvn -B -ntp -f plugin/a11y install | ||
#================================================================================================================== | ||
- name: A11y checks | ||
run: mvn -B -ntp -f plugin/a11y install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: 'Install Google Chrome' | ||
description: 'Install Google Chrome' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- maintenance-3.1.x | ||
workflow_call: | ||
inputs: | ||
branch: | ||
description: 'The current branch' | ||
default: maintenance-3.1.x | ||
type: string | ||
required: false | ||
secrets: | ||
NPM_PACKAGES_TOKEN: | ||
description: 'NPM_PACKAGES_TOKEN' | ||
required: true | ||
PACKAGES_AUTH_USER: | ||
description: 'PACKAGES_AUTH_USER' | ||
required: true | ||
PACKAGES_AUTH_TOKEN: | ||
description: 'PACKAGES_AUTH_TOKEN' | ||
required: true | ||
|
||
env: | ||
REFERENCE_BRANCH: maintenance-3.1.x | ||
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/ | ||
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }} | ||
|
||
jobs: | ||
action: | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install google chrome | ||
shell: bash | ||
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 | ||
sudo apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb | ||
sudo ln -s /usr/bin/google-chrome /usr/bin/chrome | ||
chrome --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ on: | |
PACKAGES_AUTH_USER: | ||
description: 'PACKAGES_AUTH_USER' | ||
required: true | ||
PACKAGES_AUTH_TOKEN: | ||
PACKAGES_AUTH_TOKEN: | ||
description: 'PACKAGES_AUTH_TOKEN' | ||
required: true | ||
|
||
|
@@ -28,9 +28,25 @@ env: | |
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }} | ||
|
||
jobs: | ||
action: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
ftests: | ||
runs-on: [ self-hosted, master ] | ||
runs-on: [self-hosted, master] | ||
steps: | ||
- uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.BRANCH_NAME }} | ||
|
@@ -41,7 +57,7 @@ jobs: | |
scope: '@nuxeo' | ||
|
||
- uses: actions/setup-java@v2 | ||
with: | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
|
@@ -113,15 +129,11 @@ jobs: | |
</servers> | ||
</settings>' > ~/.m2/settings.xml | ||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved. | ||
#================================================================================================================== | ||
# - name: Functional tests | ||
# env: | ||
# RUN_ALL: false | ||
# BAIL: 0 | ||
# run: mvn -ntp install -Pftest -DskipInstall | ||
#================================================================================================================== | ||
- name: Functional tests | ||
env: | ||
RUN_ALL: false | ||
BAIL: 0 | ||
run: mvn -ntp install -Pftest -DskipInstall | ||
|
||
- name: Archive cucumber reports | ||
if: ${{ always() }} | ||
|
@@ -153,4 +165,4 @@ jobs: | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,34 +22,35 @@ jobs: | |
with: | ||
branch: maintenance-3.1.x | ||
|
||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved. | ||
#================================================================================================================== | ||
# a11y: | ||
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
# secrets: | ||
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
# with: | ||
# branch: maintenance-3.1.x | ||
#================================================================================================================== | ||
|
||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved. | ||
#================================================================================================================== | ||
# ftest: | ||
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
# secrets: | ||
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
# with: | ||
# branch: maintenance-3.1.x | ||
#================================================================================================================== | ||
action: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
a11y: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
ftest: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
build: | ||
needs: [lint, test] | ||
needs: [action, lint, test, a11y, ftest] | ||
runs-on: [self-hosted, master] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -157,4 +158,4 @@ jobs: | |
run: | | ||
pushd packages/nuxeo-web-ui-ftest/ | ||
npm publish --@nuxeo:registry=https://packages.nuxeo.com/repository/npm-public/ --tag SNAPSHOT | ||
popd | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters