From 6915c39a19a62d3b40003ecffdf15e9426553500 Mon Sep 17 00:00:00 2001 From: Hongwei Liu Date: Fri, 1 Nov 2024 12:01:43 +0800 Subject: [PATCH] fix: add rpms-signature-scan task to pipelines * adding rpms-signature-scan task to build pipeline Signed-off-by: Hongwei Liu --- .tekton/integration-service-pull-request.yaml | 17 +++++++++++++++++ .tekton/integration-service-push.yaml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/.tekton/integration-service-pull-request.yaml b/.tekton/integration-service-pull-request.yaml index dc938ff2a..fd8de758d 100644 --- a/.tekton/integration-service-pull-request.yaml +++ b/.tekton/integration-service-pull-request.yaml @@ -233,6 +233,23 @@ 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) + 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 diff --git a/.tekton/integration-service-push.yaml b/.tekton/integration-service-push.yaml index e052ca02e..15e34faef 100644 --- a/.tekton/integration-service-push.yaml +++ b/.tekton/integration-service-push.yaml @@ -230,6 +230,23 @@ 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) + 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