Skip to content

Commit

Permalink
feat(konflux): add new mandatory RPM signature scan task to tekton (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
LightOfHeaven1994 authored Nov 1, 2024
1 parent f275140 commit edf5324
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .tekton/patchman-ui-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,25 @@ spec:
operator: in
values:
- "true"
- 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:7aa4d3c95e2b963e82fdda392f7cb3d61e3dab035416cf4a3a34e43cf3c9c9b8
- name: kind
value: task
resolver: bundles
- name: build-source-image
params:
- name: BINARY_IMAGE
Expand Down
19 changes: 19 additions & 0 deletions .tekton/patchman-ui-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,25 @@ spec:
operator: in
values:
- "true"
- 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:7aa4d3c95e2b963e82fdda392f7cb3d61e3dab035416cf4a3a34e43cf3c9c9b8
- name: kind
value: task
resolver: bundles
- name: build-source-image
params:
- name: BINARY_IMAGE
Expand Down

0 comments on commit edf5324

Please sign in to comment.