Skip to content

Commit

Permalink
change snyk params
Browse files Browse the repository at this point in the history
Signed-off-by: Janine Olear <[email protected]>
  • Loading branch information
miyunari committed Aug 28, 2024
1 parent 1109a43 commit e1b736a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 55 deletions.
4 changes: 0 additions & 4 deletions .tekton/client-server-cg-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down
4 changes: 0 additions & 4 deletions .tekton/client-server-cg-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down
10 changes: 3 additions & 7 deletions .tekton/client-server-f-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,6 @@ spec:
values:
- "false"
- name: sast-snyk-check
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
runAfter:
- build-container
taskRef:
Expand All @@ -350,6 +343,9 @@ spec:
operator: in
values:
- "false"
params:
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
params:
- name: image-digest
Expand Down
10 changes: 3 additions & 7 deletions .tekton/client-server-f-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,6 @@ spec:
values:
- "false"
- name: sast-snyk-check
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
runAfter:
- build-container
taskRef:
Expand All @@ -347,6 +340,9 @@ spec:
operator: in
values:
- "false"
params:
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
params:
- name: image-digest
Expand Down
13 changes: 3 additions & 10 deletions .tekton/client-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,6 @@ spec:
values:
- "false"
- name: sast-snyk-check
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
runAfter:
- build-container
taskRef:
Expand All @@ -355,9 +348,9 @@ spec:
operator: in
values:
- "false"
workspaces:
- name: workspace
workspace: workspace
params:
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
params:
- name: image-digest
Expand Down
10 changes: 3 additions & 7 deletions .tekton/client-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,6 @@ spec:
values:
- "false"
- name: sast-snyk-check
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
runAfter:
- build-container
taskRef:
Expand All @@ -349,6 +342,9 @@ spec:
operator: in
values:
- "false"
params:
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
params:
- name: image-digest
Expand Down
4 changes: 0 additions & 4 deletions .tekton/client-server-re-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down
4 changes: 0 additions & 4 deletions .tekton/client-server-re-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down
4 changes: 0 additions & 4 deletions .tekton/cosign-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down
4 changes: 0 additions & 4 deletions .tekton/cosign-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ spec:
values:
- "false"
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: clamav-scan
Expand Down

0 comments on commit e1b736a

Please sign in to comment.