From 1cf9a869427096d806132d89a40c6054f5993b7b Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Wed, 8 May 2024 11:11:02 +0800 Subject: [PATCH] DONTMERGE: test resolve konflux source image Signed-off-by: Chenxiong Qi --- .tekton/tasks/e2e-test.yaml | 2 +- policies/all-tasks.yaml | 1 + task/source-build/0.1/source-build.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.tekton/tasks/e2e-test.yaml b/.tekton/tasks/e2e-test.yaml index 9c30ce6a9d..ba7914073a 100644 --- a/.tekton/tasks/e2e-test.yaml +++ b/.tekton/tasks/e2e-test.yaml @@ -39,7 +39,7 @@ spec: value: "$(params.app_suffix)" - name: COMPONENT_REPO_URLS # TODO: https://issues.redhat.com/browse/STONEBLD-2419 - value: "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic,https://github.com/redhat-appstudio-qe/retrodep,https://github.com/cachito-testing/pip-e2e-test,https://github.com/redhat-appstudio-qe/fbc-sample-repo,https://github.com/redhat-appstudio-qe/nodejs-no-dockerfile,https://github.com/redhat-appstudio-qe/maven-hello-world,https://github.com/redhat-appstudio-qe/source-build-parent-image-with-digest-only,https://github.com/redhat-appstudio-qe/source-build-parent-image-with-both-tag-digest,https://github.com/redhat-appstudio-qe/source-build-parent-image-from-registry-rh-io" + value: "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic,https://github.com/redhat-appstudio-qe/retrodep,https://github.com/cachito-testing/pip-e2e-test,https://github.com/redhat-appstudio-qe/fbc-sample-repo,https://github.com/redhat-appstudio-qe/nodejs-no-dockerfile,https://github.com/redhat-appstudio-qe/maven-hello-world,https://github.com/redhat-appstudio-qe/source-build-parent-image-with-digest-only,https://github.com/redhat-appstudio-qe/source-build-parent-image-with-both-tag-digest,https://github.com/redhat-appstudio-qe/source-build-parent-image-from-registry-rh-io,https://github.com/cqi-stonesoup-test/simple-python-app" - name: QUAY_E2E_ORGANIZATION value: redhat-appstudio - name: E2E_APPLICATIONS_NAMESPACE diff --git a/policies/all-tasks.yaml b/policies/all-tasks.yaml index 3f14816a9f..b43872498b 100644 --- a/policies/all-tasks.yaml +++ b/policies/all-tasks.yaml @@ -13,5 +13,6 @@ sources: exclude: # https://issues.redhat.com/browse/KFLUXBUGS-1111 - step_image_registries.step_images_permitted:generate-odcs-compose/noversion + - step_image_registries.step_images_permitted:source-build/0.1 # https://issues.redhat.com/browse/KFLUXBUGS-1110 - step_image_registries.step_images_permitted:verify-signed-rpms/noversion diff --git a/task/source-build/0.1/source-build.yaml b/task/source-build/0.1/source-build.yaml index 8ed934268d..e04543a6c9 100644 --- a/task/source-build/0.1/source-build.yaml +++ b/task/source-build/0.1/source-build.yaml @@ -36,7 +36,7 @@ spec: emptyDir: {} steps: - name: build - image: quay.io/redhat-appstudio/build-definitions-source-image-build-utils@sha256:9060c5b97428682ea8a775914fda8268f76b7b60d6c46a0b110e5ff37daff97f + image: quay.io/mytestworkload/build-definitions-source-image-build-utils:fix-resolve-konflux-source-image # 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.