From edd439d3e90478374e8a3404916afa5bb7d6ebd9 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Wed, 6 Oct 2021 15:18:44 +0100 Subject: [PATCH] Only add gcr.io images to publish results The release process generates and number of container images and publishes them to gcr.io as well as three regional versions of the registry. Today all those images are added to the IMAGES result, for signing by chains, however that causes the nightly build to fail as we hit the termination message size limit. Until we have a way to store larger results, we shall only sign images on gcr.io as a workaround. Workaround to #4282 Signed-off-by: Andrea Frittoli --- tekton/publish.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tekton/publish.yaml b/tekton/publish.yaml index 52b3ccd8436..66d4d7ec959 100644 --- a/tekton/publish.yaml +++ b/tekton/publish.yaml @@ -202,6 +202,8 @@ spec: TAG="$(params.versionTag)" crane cp ${IMAGE_WITH_SHA} ${REGION}.${IMAGE_WITHOUT_SHA_AND_TAG}:$TAG fi - echo ${REGION}.$IMAGE_WITH_SHA, >> $(results.IMAGES.path) + # Until we are able to store larger results, we cannot include the + # regional copies of the images in the result - see https://github.com/tektoncd/pipeline/issues/4282 + # echo ${REGION}.$IMAGE_WITH_SHA, >> $(results.IMAGES.path) done done