Repository navigation
test(k8s): each image pin under k8s/ resolves before the merge - #2614
Merged
Merged
Conversation
`devops k8s image-pins` renders each Argo CD Application as Argo CD does (kustomize for a path source, helm template with the repository's value files for a chart, its output read through kustomize), takes the `image` values of the rendered objects, and resolves each pin once with `docker buildx imagetools inspect` as an anonymous client. It does not resolve the images that an ImageUpdater names or the images of a cluster-only registry, and it exits 1 on an image that its registry does not hold or refuses. The `image-pins` job of ci.yml runs it on a pull request that changes k8s/. A shared fake replays the tool's recorded runs, with its contract suite.
Owner
Author
|
Evidence (2026-10-29, Docker Engine 29.9.2, buildx v0.38.1, helm v4.3.0):
Pending a person: review the diff in tuicr ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devops k8s image-pinsrenders each Argo CD Application as Argo CD does and resolves each image it pins, so a wrong tag fails the pull request and not the sync.kubectl kustomize, and a chart source withhelm templateand the repository's value files, read throughkubectl kustomize, so a tag that a value file sets is checked too.docker buildx imagetools inspect, as an anonymous client. Images that anImageUpdaternames, and images of a cluster-only registry, are listed and not resolved.image-pinsjob ofci.ymlruns the command when a pull request changesk8s/, the command orci.yml.ImagetoolsFakereplays the tool's recorded runs, with its contract suite.Docker Hub counts each read as an anonymous pull; #2610 moves the resolver to a HEAD request.
Closes #1994
Change:
openspec/changes/archive/2026-10-29-1994-image-pins-resolve/