Skip to content

Harden shared release artifact publishing#91

Merged
gontzess merged 3 commits into
mainfrom
gontzess/managed-repo-release-slice-impl
Jun 5, 2026
Merged

Harden shared release artifact publishing#91
gontzess merged 3 commits into
mainfrom
gontzess/managed-repo-release-slice-impl

Conversation

@gontzess
Copy link
Copy Markdown
Contributor

@gontzess gontzess commented Jun 3, 2026

Why

Managed release repos need the shared Go release workflow to publish immutable S3 artifacts and Public ECR version tags before registry recording. Review found that the Public ECR publish path also needed a same-tag race guard, and custom storage targets needed signature validation to follow the same path as manifest.json.

What this changes

Adds no-overwrite S3 uploads with same-digest idempotency, threads release_storage_name through upload and validation, serializes same repo/tag workflow runs, and publishes Public ECR version tags with digest preflight plus post-write digest assertion. Manifest signature validation now uses the resolved storage target and fails when signature evidence is missing.

Validation

make test

Merge order

Can merge before the first managed repo release. Registry recording still depends on the registry API PR for kind-aware catalog records.

@gontzess gontzess marked this pull request as ready for review June 4, 2026 18:57
@gontzess gontzess requested a review from a team June 4, 2026 18:57
@@ -0,0 +1,185 @@
#!/usr/bin/env bash
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this make more sense as a Python script? not that I want to introduce another dependency but...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair question, im actually going to change it to go, keeps things consistent while also getting us away from a big bash script

@gontzess gontzess merged commit b22c92e into main Jun 5, 2026
2 checks passed
@gontzess gontzess deleted the gontzess/managed-repo-release-slice-impl branch June 5, 2026 15:19
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.

3 participants