Skip to content

Commit a5d047a

Browse files
committed
chore: add sast-unicode-check and sast-shell-check tasks
Signed-off-by: dirgim <[email protected]> rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent 72374d3 commit a5d047a

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

.tekton/application-service-pull-request.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,50 @@ spec:
347347
operator: in
348348
values:
349349
- "false"
350+
- name: sast-shell-check
351+
params:
352+
- name: image-digest
353+
value: $(tasks.build-container.results.IMAGE_DIGEST)
354+
- name: image-url
355+
value: $(tasks.build-container.results.IMAGE_URL)
356+
runAfter:
357+
- build-container
358+
taskRef:
359+
params:
360+
- name: name
361+
value: sast-shell-check
362+
- name: bundle
363+
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check:0.1@sha256:8587b9276b11182454b0786c536668d63780552d27ad297a9e8bd04a2af6378e
364+
- name: kind
365+
value: task
366+
resolver: bundles
367+
when:
368+
- input: $(params.skip-checks)
369+
operator: in
370+
values:
371+
- "false"
372+
- name: sast-unicode-check
373+
params:
374+
- name: image-url
375+
value: $(tasks.build-container.results.IMAGE_URL)
376+
- name: image-digest
377+
value: $(tasks.build-container.results.IMAGE_DIGEST)
378+
runAfter:
379+
- build-container
380+
taskRef:
381+
params:
382+
- name: name
383+
value: sast-unicode-check
384+
- name: bundle
385+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check:0.3@sha256:bec18fa5e82e801c3f267f29bf94535a5024e72476f2b27cca7271d506abb5ad
386+
- name: kind
387+
value: task
388+
resolver: bundles
389+
when:
390+
- input: $(params.skip-checks)
391+
operator: in
392+
values:
393+
- "false"
350394
- name: rpms-signature-scan
351395
params:
352396
- name: image-url

.tekton/application-service-push.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,50 @@ spec:
344344
operator: in
345345
values:
346346
- "false"
347+
- name: sast-shell-check
348+
params:
349+
- name: image-digest
350+
value: $(tasks.build-container.results.IMAGE_DIGEST)
351+
- name: image-url
352+
value: $(tasks.build-container.results.IMAGE_URL)
353+
runAfter:
354+
- build-container
355+
taskRef:
356+
params:
357+
- name: name
358+
value: sast-shell-check
359+
- name: bundle
360+
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check:0.1@sha256:8587b9276b11182454b0786c536668d63780552d27ad297a9e8bd04a2af6378e
361+
- name: kind
362+
value: task
363+
resolver: bundles
364+
when:
365+
- input: $(params.skip-checks)
366+
operator: in
367+
values:
368+
- "false"
369+
- name: sast-unicode-check
370+
params:
371+
- name: image-url
372+
value: $(tasks.build-container.results.IMAGE_URL)
373+
- name: image-digest
374+
value: $(tasks.build-container.results.IMAGE_DIGEST)
375+
runAfter:
376+
- build-container
377+
taskRef:
378+
params:
379+
- name: name
380+
value: sast-unicode-check
381+
- name: bundle
382+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check:0.3@sha256:bec18fa5e82e801c3f267f29bf94535a5024e72476f2b27cca7271d506abb5ad
383+
- name: kind
384+
value: task
385+
resolver: bundles
386+
when:
387+
- input: $(params.skip-checks)
388+
operator: in
389+
values:
390+
- "false"
347391
- name: rpms-signature-scan
348392
params:
349393
- name: image-url

0 commit comments

Comments
 (0)