From 4c7ebbfa40b848d32f0ec384b6add69a24cf22c0 Mon Sep 17 00:00:00 2001 From: Jing Qi Date: Tue, 5 Nov 2024 17:07:06 +0800 Subject: [PATCH] chore: bump release-service-utils image in rh-sign-image-cosigin Signed-off-by: Jing Qi --- tasks/rh-sign-image-cosign/README.md | 3 +++ tasks/rh-sign-image-cosign/rh-sign-image-cosign.yaml | 4 ++-- .../tests/test-rh-sign-image-cosign-multiple-components.yaml | 4 ++-- .../tests/test-rh-sign-image-cosign-single-component.yaml | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tasks/rh-sign-image-cosign/README.md b/tasks/rh-sign-image-cosign/README.md index 140e16fda..8e07b108f 100644 --- a/tasks/rh-sign-image-cosign/README.md +++ b/tasks/rh-sign-image-cosign/README.md @@ -10,6 +10,9 @@ Tekton task to sign container images in snapshot by cosign. | secretName | Name of secret containing needed credentials | No | - | | signRegistryAccessPath | The relative path in the workspace to a text file that contains a list of repositories that needs registry.access.redhat.com image references to be signed (i.e. requires_terms=true), one repository string per line, e.g. "rhtas/cosign-rhel9". | No | - | +## Changes in 1.1.0 +* Bump release-service-utils to upgrade cosign version for fixing the idempotency error in signing. + ## Changes in 1.0.0 * Added mandatory parameter `signRegistryAccessPath`. * The relative path in the workspace to a text file that contains a list of repositories diff --git a/tasks/rh-sign-image-cosign/rh-sign-image-cosign.yaml b/tasks/rh-sign-image-cosign/rh-sign-image-cosign.yaml index f2a602179..9e80cd0a2 100644 --- a/tasks/rh-sign-image-cosign/rh-sign-image-cosign.yaml +++ b/tasks/rh-sign-image-cosign/rh-sign-image-cosign.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: rh-sign-image-cosign labels: - app.kubernetes.io/version: "1.0.0" + app.kubernetes.io/version: "1.1.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release @@ -29,7 +29,7 @@ spec: description: Workspace to read and save files steps: - name: sign-image - image: quay.io/konflux-ci/release-service-utils:38c3bfd7479c86b832cba5b61f9bbde40c469393 + image: quay.io/konflux-ci/release-service-utils:70be98cc78c9ef52526c4f2be437321aa943b516 env: - name: AWS_DEFAULT_REGION valueFrom: diff --git a/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-multiple-components.yaml b/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-multiple-components.yaml index 6fe37d025..2c8a01186 100644 --- a/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-multiple-components.yaml +++ b/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-multiple-components.yaml @@ -17,7 +17,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:38c3bfd7479c86b832cba5b61f9bbde40c469393 + image: quay.io/konflux-ci/release-service-utils:70be98cc78c9ef52526c4f2be437321aa943b516 script: | #!/usr/bin/env bash set -eux @@ -74,7 +74,7 @@ spec: taskSpec: steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:38c3bfd7479c86b832cba5b61f9bbde40c469393 + image: quay.io/konflux-ci/release-service-utils:70be98cc78c9ef52526c4f2be437321aa943b516 script: | #!/usr/bin/env bash set -eux diff --git a/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-single-component.yaml b/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-single-component.yaml index 3599e3e75..37d3b6cde 100644 --- a/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-single-component.yaml +++ b/tasks/rh-sign-image-cosign/tests/test-rh-sign-image-cosign-single-component.yaml @@ -17,7 +17,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:38c3bfd7479c86b832cba5b61f9bbde40c469393 + image: quay.io/konflux-ci/release-service-utils:70be98cc78c9ef52526c4f2be437321aa943b516 script: | #!/usr/bin/env bash set -eux @@ -62,7 +62,7 @@ spec: taskSpec: steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:38c3bfd7479c86b832cba5b61f9bbde40c469393 + image: quay.io/konflux-ci/release-service-utils:70be98cc78c9ef52526c4f2be437321aa943b516 script: | #!/usr/bin/env bash set -eux