Skip to content

Commit

Permalink
ci: add new mandatory RPM signature scan task to tekton
Browse files Browse the repository at this point in the history
  • Loading branch information
jdobes committed Nov 6, 2024
1 parent 1bf9910 commit 5c2053b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .tekton/vmaas-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,25 @@ spec:
workspaces:
- name: source
workspace: workspace
- name: rpms-signature-scan
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: fail-unsigned
value: true
runAfter:
- build-container
taskRef:
params:
- name: name
value: rpms-signature-scan
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:0c9667fba291af05997397a32e5e938ccaa46e93a2e14bad228e64a6427c5545
- name: kind
value: task
resolver: bundles
- name: build-image-index
params:
- name: IMAGE
Expand Down
19 changes: 19 additions & 0 deletions .tekton/vmaas-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,25 @@ spec:
workspaces:
- name: source
workspace: workspace
- name: rpms-signature-scan
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: fail-unsigned
value: true
runAfter:
- build-container
taskRef:
params:
- name: name
value: rpms-signature-scan
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:0c9667fba291af05997397a32e5e938ccaa46e93a2e14bad228e64a6427c5545
- name: kind
value: task
resolver: bundles
- name: build-image-index
params:
- name: IMAGE
Expand Down

0 comments on commit 5c2053b

Please sign in to comment.