Skip to content

Commit

Permalink
Only add gcr.io images to publish results
Browse files Browse the repository at this point in the history
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 tektoncd#4282

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli committed Oct 6, 2021
1 parent ad46dff commit edd439d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit edd439d

Please sign in to comment.