Skip to content

Commit 59fbe8a

Browse files
committed
Merge branch 'main' of github.com:catenax-ng/product-traceability-foss-frontend into TRACEFOSS-565-docker
2 parents f0cd214 + 55080af commit 59fbe8a

File tree

21 files changed

+355
-246
lines changed

21 files changed

+355
-246
lines changed

.github/workflows/docker-image-for-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Build and push
30-
uses: docker/build-push-action@v3
30+
uses: docker/build-push-action@v4
3131
with:
3232
push: true
3333
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.event.pull_request.head.sha }}

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Build and push
30-
uses: docker/build-push-action@v3
30+
uses: docker/build-push-action@v4
3131
with:
3232
push: true
3333
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest , ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.sha }}

.github/workflows/docker-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Build and push
32-
uses: docker/build-push-action@v3
32+
uses: docker/build-push-action@v4
3333
with:
3434
push: true
3535
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.RELEASE_VERSION }}

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
node-version: 18.x
4848

4949
- name: Cypress run all tests
50-
uses: cypress-io/[email protected].5 # use the explicit version number
50+
uses: cypress-io/[email protected].7 # use the explicit version number
5151
with:
5252
start: npm start
5353
wait-on: "http://localhost:4200"
@@ -81,7 +81,7 @@ jobs:
8181
node-version: 18.x
8282

8383
- name: Cypress run all tests
84-
uses: cypress-io/[email protected].5 # use the explicit version number
84+
uses: cypress-io/[email protected].7 # use the explicit version number
8585
with:
8686
start: npm start
8787
wait-on: "http://localhost:4200"
@@ -125,7 +125,7 @@ jobs:
125125
run: npx playwright install --with-deps webkit
126126

127127
- name: Cypress run all tests
128-
uses: cypress-io/[email protected].5 # use the explicit version number
128+
uses: cypress-io/[email protected].7 # use the explicit version number
129129
with:
130130
start: npm start
131131
wait-on: "http://localhost:4200"

.github/workflows/kics.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "KICS"
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [main, master]
67
# pull_request:
@@ -29,6 +30,10 @@ jobs:
2930
with:
3031
# Scanning directory .
3132
path: "."
33+
# Excluded paths:
34+
# - docker-compose.yml - used only on local env
35+
# - in cypress dir docker related files used only on local env
36+
exclude_paths: "docker-compose.yml,cypress/docker-compose.yml,cypress/Dockerfile"
3237
# Fail on HIGH severity results
3338
fail_on: high
3439
# Disable secrets detection - we use GitGuardian

.github/workflows/test.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,19 @@ jobs:
2424
cmd: install # will run `yarn install` command
2525
- name: Run npm test:ci
2626
run: CHROMIUM_BIN=$(which chrome) npm run test:ci # will run `test:ci` command
27-
- uses: SonarSource/sonarcloud-github-action@master
27+
- name: Run SonarCloud with organzation and project key from environment
28+
uses: SonarSource/sonarcloud-github-action@master
29+
if: ${{ env.SONAR_ORGANIZATION != '' && env.SONAR_PROJECT_KEY != '' }}
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
32+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
33+
with:
34+
args: >
35+
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
36+
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
37+
- name: Run SonarCloud with hardcoded organization and project key
38+
uses: SonarSource/sonarcloud-github-action@master # Fallback for the catenax-ng/product-traceability-foss-frontend
39+
if: ${{ env.SONAR_ORGANIZATION == '' || env.SONAR_PROJECT_KEY == '' }}
2840
env:
2941
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3042
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

AUTHORS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#Authors
2+
3+
The following people have contributed to this repository:
4+
5+
- Blazej Kepa,doubleSlash Net-Business GmbH,https://github.com/ds-ext-bkepa
6+
- Dirk Blank,evia consulting GmbH,https://github.com/dblankevia
7+
- Fabian Bedarf,evia consulting GmbH,https://github.com/evia-fbedarf
8+
- Jedrzej Serwa,doubleSlash Net-Business GmbH,https://github.com/ds-ext-jserwa
9+
- Martin Kanal,doubleSlash Net-Business GmbH,https://github.com/mkanal
10+
- Anton Kononenko,doubleSlash Net-Business GmbH,https://github.com/ds-ext-akononenko
11+
- Sebastian Scherer,Mercedes-Benz Group AG,https://github.com/the-tatanka
12+
- Ivan Emelianov,T-Systems International GmbH,https://github.com/Anacin
13+
- Sebastian Bezold,Mercedes-Benz Group AG,https://github.com/SebastianBezold
14+
- Gregor Stelzer,msg DAVID GmbH,https://github.com/gregors101
15+
- Darek Skrzypczak,doubleSlash Net-Business GmbH,https://github.com/ds-ext-dskrzypczak
16+
- Nobert Geczi,msg Systems Romania SRL,https://github.com/norbertgeczi
17+
- Markus Kreuz,FEV Consulting GmbH,https://github.com/CXkreuz
18+
- Thomas Braun,ZF Friedrichshafen AG,https://github.com/tbraun-zf

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This variable is used to set the base path of the application. (Should be set if
4343
`CATENAX_PORTAL_BACKEND_DOMAIN`
4444
This variable is needed for security, to be more explicit, for the security headers of a request.
4545
The domain of the corresponding backend should be used here.
46-
An example value could be: `catena-x.com`
46+
An example value could be: `catena-x.net`
4747

4848
### Example command:
4949

charts/product-traceability-foss-frontend/values-dev-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ image:
55
CATENAX_PORTAL_KEYCLOAK_URL: 'https://centralidp.dev.demo.catena-x.net/auth'
66
CATENAX_PORTAL_CLIENT_ID: 'Cl17-CX-Part'
77
CATENAX_PORTAL_DEFAULT_REALM: 'CX-Central'
8-
CATENAX_PORTAL_BACKEND_DOMAIN: 'catena-x.com'
8+
CATENAX_PORTAL_BACKEND_DOMAIN: 'catena-x.net'
99

1010
nameOverride: "product-traceability-foss-test-frontend"
1111
fullnameOverride: "product-traceability-foss-test-frontend"

charts/product-traceability-foss-frontend/values-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image:
44
CATENAX_PORTAL_KEYCLOAK_URL: 'https://centralidp.dev.demo.catena-x.net/auth'
55
CATENAX_PORTAL_CLIENT_ID: 'Cl17-CX-Part'
66
CATENAX_PORTAL_DEFAULT_REALM: 'CX-Central'
7-
CATENAX_PORTAL_BACKEND_DOMAIN: 'catena-x.com'
7+
CATENAX_PORTAL_BACKEND_DOMAIN: 'catena-x.net'
88

99
autoscaling:
1010
enabled: false

0 commit comments

Comments
 (0)