Skip to content

feat(pin-gate): auto-pin chronicle image digests#322

Merged
devkoriel merged 1 commit into
mainfrom
feat/chart-auto-pin
Jun 30, 2026
Merged

feat(pin-gate): auto-pin chronicle image digests#322
devkoriel merged 1 commit into
mainfrom
feat/chart-auto-pin

Conversation

@devkoriel

Copy link
Copy Markdown
Contributor

What

Auto-pin chronicle image digests on the chart pin-gate: for same-repo PRs it resolves each changed chart's .image (the standard image.repository + image.tag shape) to its multi-arch index digest, writes the pin into values.yaml, and pushes ONE ci: auto-pin chronicle image digests commit to the PR branch with the Chronicle bot App token (which re-triggers the gate -> green). No manual pinning, no "apply suggestion" loop.

Notes

  • The helm template render-flag stays the verdict; the auto-pin only handles the standard image.repository+image.tag shape, so any non-standard or unresolvable image is still flagged for a manual pin.
  • Same 403-safe credential path as app-of-apps #1630: mint the bot App token first, checkout with it, push via origin (no extraheader clash). Mint is continue-on-error and the push is gated on a non-empty token, so a transient mint failure or a fork PR (secrets withheld) can never block the required gate -- those keep the flag-only behaviour.
  • Smoke-tested on charts test: chart auto-pin smoke (DO NOT MERGE) #321 (bared spire:0.68.3 -> auto-pinned to @sha256:79df4fb2... + pushed by the bot, no 403, re-run green). Test PR closed.

@devkoriel devkoriel merged commit 92adc3a into main Jun 30, 2026
@devkoriel devkoriel deleted the feat/chart-auto-pin branch June 30, 2026 13:12
@devkoriel devkoriel self-assigned this Jun 30, 2026
@devkoriel devkoriel added the enhancement New feature or request label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant