fix(image-updater): use short-SHA tag for clusters-service pin (AROSLSRE-954)#5418
fix(image-updater): use short-SHA tag for clusters-service pin (AROSLSRE-954)#5418hbhushan3 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Restores tooling/image-updater functionality by pinning clusters-service to the short-SHA tag format that the upstream Quay repository actually publishes, preventing periodic runs from failing due to a non-existent full-SHA tag.
Changes:
- Update the
clusters-servicepinned tag from a 40-character SHA to the corresponding 7-character short SHA intooling/image-updater/config.yaml.
|
/test e2e-parallel |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hbhushan3, sclarkso The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Superseded by #5382, which merged ~30 minutes before this PR was opened and unpinned Verified on Closing as no longer needed. |
https://issues.redhat.com/browse/AROSLSRE-954
What
Change the
clusters-servicepin intooling/image-updater/config.yamlfrom the full 40-character git SHA to the 7-character short SHA thatquay.io/app-sre/aro-hcp-clusters-serviceactually publishes:Why
PR #5371 pinned
clusters-serviceto the full git SHA, but the upstreamquay.io/app-sre/aro-hcp-clusters-servicerepository only publishes 7-character short-SHA tags (e.g.dbb022a,b8a87db,e2d2136). The full-SHA tag does not exist in quay, so every periodicimage-updaterrun fails.Failing prow job
periodic-ci-Azure-ARO-HCP-main-image-updater-image-updater-tooling/2059635834981715968 — 2026-05-27 14:32:49 UTC:
Before (current
main)Direct
podman pullof the full-SHA tag returns the samemanifest unknown. Quay's UI confirms the repo only has the short-tag formdbb022a(9 days old, digestsha256:c7c3d1b499fb…, 149 MiB).After (this PR)
The short tag
dbb022aresolves to digestsha256:c7c3d1b499fbc29760eda173fa1a8c4eb2cd2b0aa3a872c7fe3aacfc2ff8abe5withvcs-reflabeldbb022a3dd3f0533ae1c8eebd4e6929ba1ca1ede— the exact commit AROSLSRE-944 intended to pin, and the digest already present inconfig/config.yaml. No drift.versionLabel: "vcs-ref"continues to validate the resolved image matches the intended full commit SHA, so the short-tag form is safe against accidental tag reuse.Testing
AZURE_TOKEN_CREDENTIALS=dev ./image-updater update --config config.yaml --components clusters-service --verbosity 2 --tagssucceeds and reports "No update needed — digests match".podman pull quay.io/app-sre/aro-hcp-clusters-service:dbb022aresolves to the same digest currently inconfig/config.yaml.make -C config detect-changepasses.Special notes for your reviewer
tag: "latest") remains tracked in AROSLSRE-946 and is gated on openshift/hypershift#8610 merging and rolling out to int.