-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish task fails, IMAGES result too large #4282
Comments
Ah 😅 This bring some light and urgency on the TEP around this problem then 🙃 |
Heh, indeed... but we'll need a solution before the TEP though. Using multiple results would not help, we would need to use multiple tasks 😅 |
The result looks like this:
That is 4572 characters, which won't fit. I think the only alternative for now is to only sign the image on |
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]>
It wouldn't because of the termination message limit thingy right ? |
Yes, indeed. We store results in the POD termination message, so having multiple results or multiple steps does not help. |
So indirectly Chains has the limitation and does not support a taskRun producing so many images 😞 |
We ended up having to use multiple tasks for distroless, but it's pretty hacky 😕 Signing only |
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 <[email protected]>
Since the workaround was merged, I downgraded the priority of the issue now. |
@priyawadhwa any thoughts on using something other than a single task result EDIT: something like |
@pritidesai if we go down that route we might consider adding an |
From what I remember you also had to specify your PipelineResources upfront (but I might have that wrong!) If that's the case it can get pretty inconvenient if you're building more than 3 images in a task. The nice thing about |
The image resource might not work with such dynamism. The outputs:
resources:
- name: builtImage
type: image I was thinking of a solution which is a little more structured than a task result. |
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]>
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
We discussed this in the Tekton Data Interface working group.
|
Thanks @wlynch - good point, I agree we should not sign regional copies separately. Since the signing happens out of band (performed by chain) we cannot really copy the signature to the regional copies, unless we trigger another pipeline after the signature happen. This is probably ok since signature files are much smaller than the images. We could copy the SBOM files around, but that's a separate issue. I would propose we close this one. |
Expected Behavior
It is possible to release Tekton Pipelines
Actual Behavior
The publish task fails because the
IMAGES
result it too large:Steps to Reproduce the Problem
Additional Info
The
IMAGES
result is used by Tekton Chais to sign the container images.The result includes all the container images produced by
ko
plus all their copies to the various regional registries.The text was updated successfully, but these errors were encountered: