Skip to content

Commit 72090fc

Browse files
committed
fix: disable trivy scans
1 parent 713775b commit 72090fc

12 files changed

+0
-228
lines changed

.github/workflows/use-ks-gh-preproduction.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -60,19 +57,3 @@ jobs:
6057
deployment-ok:
6158
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6259
provider: ${{ steps.deployment.outputs.provider }}
63-
64-
trivy:
65-
name: 🕵️ Trivy vulnerability scanner
66-
needs: [deploy]
67-
runs-on: ubuntu-latest
68-
if: ${{ ! inputs.disableTrivyScans }}
69-
strategy:
70-
fail-fast: false
71-
max-parallel: 3
72-
matrix:
73-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
74-
steps:
75-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
76-
with:
77-
image: ${{ matrix.imageRef }}
78-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-production.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -60,19 +57,3 @@ jobs:
6057
deployment-ok:
6158
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6259
provider: ${{ steps.deployment.outputs.provider }}
63-
64-
trivy:
65-
name: 🕵️ Trivy vulnerability scanner
66-
needs: [deploy]
67-
runs-on: ubuntu-latest
68-
if: ${{ ! inputs.disableTrivyScans }}
69-
strategy:
70-
fail-fast: false
71-
max-parallel: 3
72-
matrix:
73-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
74-
steps:
75-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
76-
with:
77-
image: ${{ matrix.imageRef }}
78-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-review-auto.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -60,19 +57,3 @@ jobs:
6057
deployment-ok:
6158
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6259
provider: ${{ steps.deployment.outputs.provider }}
63-
64-
trivy:
65-
name: 🕵️ Trivy vulnerability scanner
66-
needs: [deploy]
67-
if: ${{ ! inputs.disableTrivyScans }}
68-
runs-on: ubuntu-latest
69-
strategy:
70-
fail-fast: false
71-
max-parallel: 3
72-
matrix:
73-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
74-
steps:
75-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
76-
with:
77-
image: ${{ matrix.imageRef }}
78-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-review.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -60,19 +57,3 @@ jobs:
6057
deployment-ok:
6158
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6259
provider: ${{ steps.deployment.outputs.provider }}
63-
64-
trivy:
65-
name: 🕵️ Trivy vulnerability scanner
66-
needs: [deploy]
67-
runs-on: ubuntu-latest
68-
if: ${{ ! inputs.disableTrivyScans }}
69-
strategy:
70-
fail-fast: false
71-
max-parallel: 3
72-
matrix:
73-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
74-
steps:
75-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
76-
with:
77-
image: ${{ matrix.imageRef }}
78-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-with-env-preproduction.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -62,19 +59,3 @@ jobs:
6259
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6360
provider: ${{ steps.deployment.outputs.provider }}
6461
github-env-enabled: true
65-
66-
trivy:
67-
name: 🕵️ Trivy vulnerability scanner
68-
needs: [deploy]
69-
runs-on: ubuntu-latest
70-
if: ${{ ! inputs.disableTrivyScans }}
71-
strategy:
72-
fail-fast: false
73-
max-parallel: 3
74-
matrix:
75-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
76-
steps:
77-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
78-
with:
79-
image: ${{ matrix.imageRef }}
80-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-with-env-production.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -62,19 +59,3 @@ jobs:
6259
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6360
provider: ${{ steps.deployment.outputs.provider }}
6461
github-env-enabled: true
65-
66-
trivy:
67-
name: 🕵️ Trivy vulnerability scanner
68-
needs: [deploy]
69-
if: ${{ ! inputs.disableTrivyScans }}
70-
runs-on: ubuntu-latest
71-
strategy:
72-
fail-fast: false
73-
max-parallel: 3
74-
matrix:
75-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
76-
steps:
77-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
78-
with:
79-
image: ${{ matrix.imageRef }}
80-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-with-env-review-auto.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -62,19 +59,3 @@ jobs:
6259
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6360
provider: ${{ steps.deployment.outputs.provider }}
6461
github-env-enabled: true
65-
66-
trivy:
67-
name: 🕵️ Trivy vulnerability scanner
68-
needs: [deploy]
69-
runs-on: ubuntu-latest
70-
if: ${{ ! inputs.disableTrivyScans }}
71-
strategy:
72-
fail-fast: false
73-
max-parallel: 3
74-
matrix:
75-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
76-
steps:
77-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
78-
with:
79-
image: ${{ matrix.imageRef }}
80-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-gh-with-env-review.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
kubeconfigContext:
1515
required: false
1616
type: string
17-
disableTrivyScans:
18-
required: false
19-
type: boolean
2017

2118
jobs:
2219
deploy:
@@ -62,19 +59,3 @@ jobs:
6259
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
6360
provider: ${{ steps.deployment.outputs.provider }}
6461
github-env-enabled: true
65-
66-
trivy:
67-
name: 🕵️ Trivy vulnerability scanner
68-
needs: [deploy]
69-
runs-on: ubuntu-latest
70-
if: ${{ ! inputs.disableTrivyScans }}
71-
strategy:
72-
fail-fast: false
73-
max-parallel: 3
74-
matrix:
75-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
76-
steps:
77-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
78-
with:
79-
image: ${{ matrix.imageRef }}
80-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-wh-preproduction.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
required: false
99
type: boolean
1010
default: true
11-
disableTrivyScans:
12-
required: false
13-
type: boolean
1411
secrets:
1512
KUBEWEBHOOK_TOKEN:
1613
required: true
@@ -52,19 +49,3 @@ jobs:
5249
${{ steps.deployment-starting.outputs.deployment-name }}
5350
deployment-ok:
5451
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
55-
56-
trivy:
57-
name: 🕵️ Trivy vulnerability scanner
58-
needs: [deploy]
59-
if: ${{ ! inputs.disableTrivyScans }}
60-
runs-on: ubuntu-latest
61-
strategy:
62-
fail-fast: false
63-
max-parallel: 3
64-
matrix:
65-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
66-
steps:
67-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
68-
with:
69-
image: ${{ matrix.imageRef }}
70-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/use-ks-wh-production.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
required: false
99
type: boolean
1010
default: true
11-
disableTrivyScans:
12-
required: false
13-
type: boolean
1411
secrets:
1512
KUBEWEBHOOK_TOKEN:
1613
required: true
@@ -52,19 +49,3 @@ jobs:
5249
${{ steps.deployment-starting.outputs.deployment-name }}
5350
deployment-ok:
5451
${{ steps.deployment.outcome == 'success' && 'true' || 'false' }}
55-
56-
trivy:
57-
name: 🕵️ Trivy vulnerability scanner
58-
needs: [deploy]
59-
runs-on: ubuntu-latest
60-
if: ${{ ! inputs.disableTrivyScans }}
61-
strategy:
62-
fail-fast: false
63-
max-parallel: 3
64-
matrix:
65-
imageRef: ${{ fromJson(needs.deploy.outputs.manifests-images) }}
66-
steps:
67-
- uses: socialgouv/workflows/actions/trivy-scan-image@v1
68-
with:
69-
image: ${{ matrix.imageRef }}
70-
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)