Skip to content

ci: call the org-wide reusable release-oci instead of a local copy - #35

Merged
braghettos merged 1 commit into
mainfrom
ci/reusable-release-oci
Aug 10, 2026
Merged

ci: call the org-wide reusable release-oci instead of a local copy#35
braghettos merged 1 commit into
mainfrom
ci/reusable-release-oci

Conversation

@braghettos

Copy link
Copy Markdown
Collaborator

Converts this repo's release-oci.yaml from a 137-line local copy into a call to the org-wide reusable added in krateo-platformops/.github#3.

Why

The file carried its own header asserting it was "identical byte-for-byte across ALL repos". Identity by discipline is exactly what failed for release-tag.yaml, where two repos silently diverged on resource-policy: keep and nobody noticed until someone went looking. Calling a shared workflow makes that property structural instead of aspirational.

It also gates the publish on every chart-referenced image existing. A chart naming an image that was never published used to publish cleanly and then ImagePullBackOff on every install, with the symptom surfacing several layers from the cause — that is krateo-platformops/oasgen-provider#62, where one stale tag took out 14 generated controllers and the visible failure was an unrelated job stuck at Init:0/1.

What changed

Only the trigger block stays local. The publish logic — collision guard, first-class chart discovery, placeholder substitution, dependency handling, package and push — now lives once in the org repo, ported verbatim.

Verified before opening

This repo's copy was byte-identical to the canonical baseline, so nothing local is lost. Repos whose copy differed are being handled separately rather than swept into a mechanical change.

Replaces a 137-line copy with triggers plus a `uses:`. The publish logic now lives once in
krateo-platformops/.github, so the file's own claim of being identical across every repo is
enforced by construction rather than by whoever remembers to copy it — the property that
already failed for release-tag.yaml.

The shared workflow additionally gates the publish on every chart-referenced image existing,
which is the guard for oasgen-provider#62.

This repo's copy was byte-identical to the canonical baseline; nothing local is lost.
@braghettos
braghettos merged commit 24d3375 into main Aug 10, 2026
10 checks passed
@braghettos
braghettos deleted the ci/reusable-release-oci branch August 10, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant