Skip to content

Commit 6a8b4c2

Browse files
reset branches and image scan
1 parent 064517f commit 6a8b4c2

14 files changed

+31
-31
lines changed

.github/workflows/build-node-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ env:
7474
PYPI_REGISTRY: "https://upload.pypi.org/legacy/"
7575
PYPI_USERNAME: "datavisyn"
7676
PYTHON_VERSION: "3.10"
77-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
77+
WORKFLOW_BRANCH: "new_deployment"
7878

7979
permissions:
8080
contents: read

.github/workflows/build-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
env:
1717
NPM_REGISTRY: "https://registry.npmjs.org/"
1818
NODE_VERSION: "20.9"
19-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
19+
WORKFLOW_BRANCH: "new_deployment"
2020

2121
permissions:
2222
contents: read

.github/workflows/build-product.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
TIME_ZONE: "Europe/Vienna"
2525
NODE_VERSION: "20.9"
2626
PYTHON_VERSION: "3.10"
27-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
27+
WORKFLOW_BRANCH: "new_deployment"
2828
PYTHON_BASE_IMAGE: "python:3.10.8-slim-bullseye"
2929
DATAVISYN_PYTHON_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
3030
DATAVISYN_NGINX_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"
@@ -87,7 +87,7 @@ jobs:
8787
fail-fast: true
8888
matrix:
8989
component: ${{fromJson(needs.prepare-build.outputs.components)}}
90-
uses: datavisyn/github-workflows/.github/workflows/build-single-product-part.yml@vstoiber-fix-secrets-inherit
90+
uses: datavisyn/github-workflows/.github/workflows/build-single-product-part.yml@new_deployment
9191
with:
9292
component: ${{ matrix.component }}
9393
image_tag1: ${{ needs.prepare-build.outputs.image_tag1 }}
@@ -102,7 +102,7 @@ jobs:
102102
fail-fast: true
103103
matrix:
104104
component: ${{fromJson(needs.prepare-build.outputs.components)}}
105-
uses: datavisyn/github-workflows/.github/workflows/build-workspace-product-part.yml@vstoiber-fix-secrets-inherit
105+
uses: datavisyn/github-workflows/.github/workflows/build-workspace-product-part.yml@new_deployment
106106
with:
107107
component: ${{ matrix.component }}
108108
image_tag1: ${{ needs.prepare-build.outputs.image_tag1 }}

.github/workflows/build-push-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ permissions:
2828
contents: read
2929

3030
env:
31-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
31+
WORKFLOW_BRANCH: "new_deployment"
3232

3333
jobs:
3434
build:

.github/workflows/build-push-helm-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222
contents: read
2323

2424
env:
25-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
25+
WORKFLOW_BRANCH: "new_deployment"
2626

2727
concurrency:
2828
group: '${{ github.workflow }}-${{ github.ref || github.head_ref }}'

.github/workflows/build-single-product-part.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ env:
4242
TIME_ZONE: "Europe/Vienna"
4343
NODE_VERSION: "20.9"
4444
PYTHON_VERSION: "3.10"
45-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
45+
WORKFLOW_BRANCH: "new_deployment"
4646
PYTHON_BASE_IMAGE: "python:3.10.8-slim-bullseye"
4747
DATAVISYN_PYTHON_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
4848
DATAVISYN_NGINX_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"
@@ -240,18 +240,18 @@ jobs:
240240
org.opencontainers.image.version=${{ inputs.image_tag2 }}
241241
org.opencontainers.image.created=${{ inputs.build_time }}
242242
org.opencontainers.image.revision=${{ github.sha }}
243-
# - name: scan image
244-
# id: get-ecr-scan-result
245-
# uses: ./tmp/github-workflows/.github/actions/get-ecr-scan-result
246-
# with:
247-
# aws_role: ${{ vars.DV_AWS_ECR_ROLE }}
248-
# aws_region: ${{ vars.DV_AWS_REGION }}
249-
# ecr_registry: ${{ vars.DV_AWS_ECR_REGISTRY }}
250-
# ecr_repository: ${{ steps.get-parameters.outputs.ecr_repo }}
251-
# image_tag: ${{ inputs.image_tag1 }}
252-
# - name: check scan results
253-
# run: |
254-
# if [ "${{ steps.get-ecr-scan-result.outputs.critical }}" != "null" ] || [ "${{ steps.get-ecr-scan-result.outputs.high }}" != "null" ]; then
255-
# echo "Docker image contains vulnerabilities at critical or high level"
256-
# exit 1 #exit execution due to docker image vulnerabilities
257-
# fi
243+
- name: scan image
244+
id: get-ecr-scan-result
245+
uses: ./tmp/github-workflows/.github/actions/get-ecr-scan-result
246+
with:
247+
aws_role: ${{ vars.DV_AWS_ECR_ROLE }}
248+
aws_region: ${{ vars.DV_AWS_REGION }}
249+
ecr_registry: ${{ vars.DV_AWS_ECR_REGISTRY }}
250+
ecr_repository: ${{ steps.get-parameters.outputs.ecr_repo }}
251+
image_tag: ${{ inputs.image_tag1 }}
252+
- name: check scan results
253+
run: |
254+
if [ "${{ steps.get-ecr-scan-result.outputs.critical }}" != "null" ] || [ "${{ steps.get-ecr-scan-result.outputs.high }}" != "null" ]; then
255+
echo "Docker image contains vulnerabilities at critical or high level"
256+
exit 1 #exit execution due to docker image vulnerabilities
257+
fi

.github/workflows/build-workspace-product-part.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ env:
4343
TIME_ZONE: "Europe/Vienna"
4444
NODE_VERSION: "20.9"
4545
PYTHON_VERSION: "3.10"
46-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
46+
WORKFLOW_BRANCH: "new_deployment"
4747
PYTHON_BASE_IMAGE: "python:3.10.8-slim-bullseye"
4848
DATAVISYN_PYTHON_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
4949
DATAVISYN_NGINX_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"

.github/workflows/check-helm-chart-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323
contents: read
2424

2525
env:
26-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
26+
WORKFLOW_BRANCH: "new_deployment"
2727

2828
jobs:
2929
check-helm-chart-version:

.github/workflows/deploy-product.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ concurrency:
3838

3939
env:
4040
GA_VERSION: "main"
41-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
41+
WORKFLOW_BRANCH: "new_deployment"
4242

4343
jobs:
4444
deploy:

.github/workflows/publish-node-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
PYPI_REGISTRY: "https://upload.pypi.org/legacy/"
2323
PYPI_USERNAME: "datavisyn"
2424
PYTHON_VERSION: "3.10"
25-
WORKFLOW_BRANCH: "vstoiber-fix-secrets-inherit"
25+
WORKFLOW_BRANCH: "new_deployment"
2626

2727
permissions:
2828
contents: read

0 commit comments

Comments
 (0)