From 81a826bcc3493151587a053a4ba4b63044e4a563 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Thu, 21 Mar 2024 11:43:42 +0800 Subject: [PATCH] DONTMERGE: test source build retry --- policies/all-tasks.yaml | 1 + task/source-build/0.1/source-build.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/policies/all-tasks.yaml b/policies/all-tasks.yaml index 3f14816a9f..32543d26e8 100644 --- a/policies/all-tasks.yaml +++ b/policies/all-tasks.yaml @@ -15,3 +15,4 @@ sources: - step_image_registries.step_images_permitted:generate-odcs-compose/noversion # https://issues.redhat.com/browse/KFLUXBUGS-1110 - step_image_registries.step_images_permitted:verify-signed-rpms/noversion + - step_image_registries.step_images_permitted:source-build/0.1 diff --git a/task/source-build/0.1/source-build.yaml b/task/source-build/0.1/source-build.yaml index 037c36969d..b40cae64f5 100644 --- a/task/source-build/0.1/source-build.yaml +++ b/task/source-build/0.1/source-build.yaml @@ -36,7 +36,8 @@ spec: emptyDir: {} steps: - name: build - image: quay.io/redhat-appstudio/build-definitions-source-image-build-utils@sha256:e5865a663af8faa4816802b449e3f9988db00dc93918f55397fea7139e03a6a9 + # image: quay.io/redhat-appstudio/build-definitions-source-image-build-utils@sha256:e5865a663af8faa4816802b449e3f9988db00dc93918f55397fea7139e03a6a9 + image: quay.io/mytestworkload/build-definitions-source-image-build-utils:test-retry # per https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting # the cluster will set imagePullPolicy to IfNotPresent # also per direction from Ralph Bean, we want to use image digest based tags to use a cue to automation like dependabot or renovatebot to periodially submit pull requests that update the digest as new images are released.