-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'eclipse-tractusx:main' into main
- Loading branch information
Showing
87 changed files
with
1,335 additions
and
17,218 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 |
---|---|---|
|
@@ -101,14 +101,29 @@ jobs: | |
with: | ||
node-version: 20.x | ||
|
||
- name: Install Angular CLI | ||
run: npm install -g @angular/cli | ||
|
||
- name: Run yarn install | ||
uses: Borales/actions-yarn@v5 | ||
with: | ||
cmd: install # will run `yarn install` command | ||
dir: frontend | ||
|
||
- name: Start Frontend Application | ||
working-directory: frontend | ||
run: | | ||
npm run start:auth:e2ea & | ||
sleep 60 && | ||
curl http://localhost:4200 -I | ||
- name: Cypress run all tests | ||
uses: cypress-io/[email protected].0 # use the explicit version number | ||
uses: cypress-io/[email protected].1 # use the explicit version number | ||
with: | ||
start: npm run start:auth:e2ea | ||
wait-on: "http://localhost:4200" | ||
wait-on-timeout: 120 | ||
browser: chrome | ||
working-directory: frontend | ||
# using wait-on parameter causes "Error: connect ECONNREFUSED 127.0.0.1:4200" | ||
env: | ||
CYPRESS_SUPERVISOR_LOGIN: ${{ secrets.TRACE_X_SUPERVISOR_LOGIN }} | ||
CYPRESS_SUPERVISOR_PW: ${{ secrets.TRACE_X_SUPERVISOR_PW }} | ||
|
@@ -165,7 +180,7 @@ jobs: | |
# node-version: 18.x | ||
# | ||
# - name: Cypress run all tests | ||
# uses: cypress-io/[email protected].0 # use the explicit version number | ||
# uses: cypress-io/[email protected].1 # use the explicit version number | ||
# with: | ||
# start: npm start | ||
# wait-on: "http://localhost:4200" | ||
|
@@ -228,7 +243,7 @@ jobs: | |
# run: npx playwright install --with-deps webkit | ||
# | ||
# - name: Cypress run all tests | ||
# uses: cypress-io/[email protected].0 # use the explicit version number | ||
# uses: cypress-io/[email protected].1 # use the explicit version number | ||
# with: | ||
# start: npm start:auth:e2ea | ||
# wait-on: "http://localhost:4200" | ||
|
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 |
---|---|---|
|
@@ -17,42 +17,42 @@ jobs: | |
run: echo HELM_VERSION=$(cat charts/traceability-foss/CHANGELOG.md | sed -n 's/.*\[\([0-9]\+\.[0-9]\+\.[0-9]\+\)\].*/\1/p' | head -n 1) >> $GITHUB_ENV | ||
|
||
- name: Update Chart.yaml appVersion | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.appVersion = "${{ github.ref_name }}"' charts/traceability-foss/Chart.yaml | ||
|
||
- name: Update Chart.yaml version | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.version = "${{ env.HELM_VERSION }}"' charts/traceability-foss/Chart.yaml | ||
|
||
- name: Update frontend dependency version in Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.dependencies[0].version = "${{ env.HELM_VERSION }}"' charts/traceability-foss/Chart.yaml | ||
|
||
- name: Update backend dependency version in Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.dependencies[1].version = "${{ env.HELM_VERSION }}"' charts/traceability-foss/Chart.yaml | ||
|
||
- name: Update frontend version in frontend/Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.version = "${{ env.HELM_VERSION }}"' charts/traceability-foss/charts/frontend/Chart.yaml | ||
|
||
- name: Update frontend appVersion in frontend/Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.appVersion = "${{ github.ref_name }}"' charts/traceability-foss/charts/frontend/Chart.yaml | ||
|
||
- name: Update backend version in backend/Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.version = "${{ env.HELM_VERSION }}"' charts/traceability-foss/charts/backend/Chart.yaml | ||
|
||
- name: Update backend appVersion in frontend/Chart.yaml | ||
uses: mikefarah/[email protected].1 | ||
uses: mikefarah/[email protected].2 | ||
with: | ||
cmd: yq -i eval '.appVersion = "${{ github.ref_name }}"' charts/traceability-foss/charts/backend/Chart.yaml | ||
|
||
|
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
Oops, something went wrong.