From 3cec8310d8f0fe7f0ab87436864a7dbd7537abb1 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Tue, 5 Nov 2024 12:53:45 -0500 Subject: [PATCH] chore: bump release-service-utils in push-snapshot The new image brings a new version of the get-image-architecture script which can properly handle a Tekton bundle. This update was previously done to the apply-mapping Task, but the push-snapshot Task also relies on it. Ref: KFLUXBUGS-1741 Signed-off-by: Luiz Carvalho --- tasks/push-snapshot/README.md | 3 +++ tasks/push-snapshot/push-snapshot.yaml | 4 ++-- .../push-snapshot/tests/test-push-snapshot-digests-match.yaml | 4 ++-- .../tests/test-push-snapshot-fail-no-data-file.yaml | 2 +- .../tests/test-push-snapshot-fail-tagless-component.yaml | 2 +- tasks/push-snapshot/tests/test-push-snapshot-mount-certs.yaml | 4 ++-- .../test-push-snapshot-pushsourcecontainer-component.yaml | 4 ++-- .../test-push-snapshot-pushsourcecontainer-defaults.yaml | 4 ++-- .../test-push-snapshot-pushsourcecontainer-skip-existing.yaml | 4 ++-- tasks/push-snapshot/tests/test-push-snapshot-retries.yaml | 4 ++-- tasks/push-snapshot/tests/test-push-snapshot.yaml | 4 ++-- 11 files changed, 21 insertions(+), 18 deletions(-) diff --git a/tasks/push-snapshot/README.md b/tasks/push-snapshot/README.md index 75a4edf5b..38eaeaf49 100644 --- a/tasks/push-snapshot/README.md +++ b/tasks/push-snapshot/README.md @@ -13,6 +13,9 @@ Tekton task to push snapshot images to an image registry using `cosign copy`. | caTrustConfigMapName | The name of the ConfigMap to read CA bundle data from | Yes | trusted-ca | | caTrustConfigMapKey | The name of the key in the ConfigMap that contains the CA bundle data | Yes | ca-bundle.crt | +## Changes in 6.4.0 +* Bump release-service-utils to upgrade the get-image-architecture script which can properly handle a Tekton bundle. + ## Changes in 6.3.0 * Add support for custom CA cert in push-snapshot task diff --git a/tasks/push-snapshot/push-snapshot.yaml b/tasks/push-snapshot/push-snapshot.yaml index 81d21a95a..108ec04cb 100644 --- a/tasks/push-snapshot/push-snapshot.yaml +++ b/tasks/push-snapshot/push-snapshot.yaml @@ -4,7 +4,7 @@ kind: Task metadata: name: push-snapshot labels: - app.kubernetes.io/version: "6.3.0" + app.kubernetes.io/version: "6.4.0" annotations: tekton.dev/pipelines.minVersion: "0.12.1" tekton.dev/tags: release @@ -38,7 +38,7 @@ spec: description: The workspace where the snapshot spec and data json files reside steps: - name: push-snapshot - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env bash set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-digests-match.yaml b/tasks/push-snapshot/tests/test-push-snapshot-digests-match.yaml index d5d19479c..b3d68a896 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-digests-match.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-digests-match.yaml @@ -19,7 +19,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -66,7 +66,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-fail-no-data-file.yaml b/tasks/push-snapshot/tests/test-push-snapshot-fail-no-data-file.yaml index 911ad3d74..bdf1f7f15 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-fail-no-data-file.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-fail-no-data-file.yaml @@ -21,7 +21,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-fail-tagless-component.yaml b/tasks/push-snapshot/tests/test-push-snapshot-fail-tagless-component.yaml index b17009de8..aa13dde63 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-fail-tagless-component.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-fail-tagless-component.yaml @@ -21,7 +21,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-mount-certs.yaml b/tasks/push-snapshot/tests/test-push-snapshot-mount-certs.yaml index 4eb040ea5..a204ba4ad 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-mount-certs.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-mount-certs.yaml @@ -18,7 +18,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -89,7 +89,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-component.yaml b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-component.yaml index 4ea859e98..fd45211db 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-component.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-component.yaml @@ -18,7 +18,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -79,7 +79,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-defaults.yaml b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-defaults.yaml index 7e13d0d68..d245a1208 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-defaults.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-defaults.yaml @@ -18,7 +18,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -81,7 +81,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-skip-existing.yaml b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-skip-existing.yaml index 76e4e33d5..1c2b349d9 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-skip-existing.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-pushsourcecontainer-skip-existing.yaml @@ -19,7 +19,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -76,7 +76,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot-retries.yaml b/tasks/push-snapshot/tests/test-push-snapshot-retries.yaml index a52983a16..fa98bc8ae 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot-retries.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot-retries.yaml @@ -18,7 +18,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -67,7 +67,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux diff --git a/tasks/push-snapshot/tests/test-push-snapshot.yaml b/tasks/push-snapshot/tests/test-push-snapshot.yaml index e2a620f2a..fff5bcd46 100644 --- a/tasks/push-snapshot/tests/test-push-snapshot.yaml +++ b/tasks/push-snapshot/tests/test-push-snapshot.yaml @@ -18,7 +18,7 @@ spec: - name: data steps: - name: setup-values - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux @@ -85,7 +85,7 @@ spec: - name: data steps: - name: check-result - image: quay.io/konflux-ci/release-service-utils:e633d51cd41d73e4b3310face21bb980af7a662f + image: quay.io/konflux-ci/release-service-utils:d320c36f3d707cd5bfe55fe783f70236c06cc2e5 script: | #!/usr/bin/env sh set -eux