Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

ci: auto-bump core-provider-chart cdc.image.tag on release - #9

Merged
braghettos merged 1 commit into
mainfrom
ci/bump-consumer-chart-image
Jun 21, 2026
Merged

ci: auto-bump core-provider-chart cdc.image.tag on release#9
braghettos merged 1 commit into
mainfrom
ci/bump-consumer-chart-image

Conversation

@braghettos

Copy link
Copy Markdown
Collaborator

Wires the chart image-tag alignment into the CDC release: on a release tag, after the image publishes, a PR is opened into braghettos/core-provider-chart setting cdc.image.tag to the released tag. Closes the manual step we just hit (aligning 1.0.5 → 1.1.0).

Why a separate workflow (not inside release-tag.yaml)

release-tag.yaml is, by its own header, byte-for-byte identical across all component repos (no per-repo config). A CDC-specific bump inlined there would be clobbered on the next canonical sync, and its consuming chart (core-provider-chart) doesn't follow the generic <repo>-chart convention the canonical crds job assumes. So this lives in its own file, triggered by the same tag push — functionally "wired into" the release without mutating the shared workflow.

Mechanism

Mirrors the existing crds job's cross-repo pattern: secrets.PAT, clone the chart repo, yq -i '.cdc.image.tag = "<tag>"' chart/values.yaml, push a cdc-image-<tag> branch, open a PR (idempotent — no-op if already set). cdc.image.repository already points at this repo's GHCR, so only the tag moves.

Validated: workflow YAML parses; yq path/syntax matches the crds job (mikefarah v4, preinstalled on runners) and the real chart/values.yaml structure.

🤖 Generated with Claude Code

On a release tag, open a PR into braghettos/core-provider-chart setting
cdc.image.tag to the released tag, so the chart deploys the just-released CDC
(closes the manual step we hit aligning 1.0.5 -> 1.1.0).

Separate file by design: release-tag.yaml is byte-for-byte identical across all
component repos, so this CDC-specific bump must not be inlined there. Same
tag-push trigger; reuses secrets.PAT and the cross-repo PR pattern of the crds
job.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@braghettos
braghettos merged commit 6e73b09 into main Jun 21, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant