forked from eclipse-tractusx/traceability-foss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from Cofinity-X/chore/BA-198_Merge_upstream_1…
…0_05_0 BA-198: Merge upstream (10.5.0) Sprint 1.1
- Loading branch information
Showing
286 changed files
with
27,648 additions
and
14,599 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
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# ref https://github.com/catenax-ng/product-traceability-foss-backend/security/code-scanning/1419 | ||
CVE-2022-25857 | ||
# ref https://github.com/catenax-ng/tx-traceability-foss/security/code-scanning/6879 | ||
# this is acceptable due to custom environment variable injection script which is executed upon FE container startup | ||
AVD-KSV-0014 |
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
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
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 |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
node-version: 18.x | ||
|
||
- name: Run yarn install | ||
uses: Borales/actions-yarn@v4.2.0 | ||
uses: Borales/actions-yarn@v5 | ||
with: | ||
cmd: install # will run `yarn install` command | ||
|
||
|
@@ -66,7 +66,7 @@ jobs: | |
run: ./scripts/xray-download-feature-files.sh | ||
|
||
- name: Save cypress/e2e folder | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cypress - e2e | ||
if-no-files-found: error | ||
|
@@ -101,7 +101,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 run start:auth:e2ea | ||
wait-on: "http://localhost:4200" | ||
|
@@ -127,7 +127,7 @@ jobs: | |
- name: Archive cypress artifacts | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cypress generated files - chrome | ||
path: | | ||
|
@@ -163,7 +163,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" | ||
|
@@ -182,7 +182,7 @@ jobs: | |
# | ||
# - name: Archive cypress artifacts | ||
# if: success() || failure() | ||
# uses: actions/upload-artifact@v3 | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: cypress generated files - firefox | ||
# path: | | ||
|
@@ -226,7 +226,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" | ||
|
@@ -245,7 +245,7 @@ jobs: | |
# | ||
# - name: Archive cypress artifacts | ||
# if: success() || failure() | ||
# uses: actions/upload-artifact@v3 | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: cypress generated files - webkit | ||
# path: | | ||
|
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 |
---|---|---|
|
@@ -81,6 +81,8 @@ jobs: | |
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
mark_as_latest: false | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
CR_RELEASE_NAME_TEMPLATE: "${{ env.RELEASE_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,45 +48,64 @@ jobs: | |
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 20 | ||
|
||
- name: Cache maven packages | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
|
||
- name: Build API documentation with Maven | ||
run: | | ||
mvn clean package -pl tx-backend,tx-models -DskipTests --batch-mode | ||
cp tx-backend/target/generated-sources/openapi/index.html docs/src/docs/api-specification/index.html | ||
- name: Build with Maven | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
run: | | ||
mvn -f docs/pom.xml --batch-mode generate-resources | ||
- name: Install Asciidoctor Reducer | ||
run: | | ||
sudo gem install asciidoctor-reducer | ||
- name: Reduce docs | ||
run: | | ||
echo $LANG | ||
locale | ||
asciidoctor-reducer -o docs/target/adminguide.adoc docs/src/docs/administration/administration-guide.adoc | ||
asciidoctor-reducer -o docs/target/arc42.adoc docs/src/docs/arc42/full.adoc | ||
- name: Cache plantuml jar | ||
uses: actions/cache@v3 | ||
with: | ||
path: plantuml.jar | ||
key: ${{ runner.os }}-file-${{ hashFiles('plantuml.jar') }} | ||
|
||
- name: Download PlantUML jar | ||
run: | | ||
wget -O plantuml.jar https://sourceforge.net/projects/plantuml/files/plantuml.jar/download | ||
- name: Place PlantUML jar in specific path | ||
run: | | ||
mv plantuml.jar docs/src/diagram-replacer/ | ||
- name: Extract PNG-Images with PlantUML and replace PlantUML Code inside docs with PNG-Images | ||
working-directory: docs/src/diagram-replacer/ | ||
run: | | ||
node extract.js | ||
node replace.js | ||
- name: Convert to Markdown | ||
run: | | ||
npx downdoc -o docs/target/generated-docs/adminguide.md docs/src/diagram-replacer/generated-adocs/adminguide.adoc | ||
npx downdoc -o docs/target/generated-docs/arc42.md docs/src/diagram-replacer/generated-adocs/arc42.adoc | ||
npx downdoc -o docs/target/generated-docs/user-manual.md docs/src/docs/user/user-manual.adoc | ||
- name: MD files post-processing | ||
working-directory: docs/src/post-processing/ | ||
run: | | ||
|
@@ -95,15 +114,18 @@ jobs: | |
node fix_no_emphasis.js | ||
node fix_https_links.js | ||
node fix_relative_links.js https://$GITHUB_REPOSITORY_OWNER.github.io/$REPO/docs | ||
- name: MD linting | ||
run: | | ||
npm install [email protected] | ||
npx markdownlint-cli2-config docs/.markdownlint.yaml docs/target/generated-docs/adminguide.md | ||
npx markdownlint-cli2-config docs/.markdownlint.yaml docs/target/generated-docs/arc42.md | ||
npx markdownlint-cli2-config docs/.markdownlint.yaml docs/target/generated-docs/user-manual.md | ||
- name: Move assets to target directory | ||
run: | | ||
mv docs/src/diagram-replacer/assets/ docs/target/generated-docs/assets/ | ||
- name: GitHub Pages action | ||
uses: peaceiris/[email protected] | ||
with: | ||
|
Oops, something went wrong.