Skip to content

Admit a build manifest beside every allowed artifact - #3

Merged
hpoul merged 1 commit into
masterfrom
manifest-sidecars
Aug 20, 2026
Merged

Admit a build manifest beside every allowed artifact#3
hpoul merged 1 commit into
masterfrom
manifest-sidecars

Conversation

@hpoul

@hpoul hpoul commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

cux_ship's schema-2 sidecar (<artifact>.manifest.json) now travels beside each artifact — authpass PR #421 uploads it, and the deb repackaging downloads it next to the tarball to derive the deb's own provenance record.

The companion match is derived from the artifact rules by re-checking the stem, rather than a second list that could drift, and folds the suffix into the extension — so the latest symlink aliases the sidecar exactly the way it aliases its artifact, which is what the workflow_run consumer relies on. One level only: x.manifest.json.manifest.json stays refused.

Functionally tested against the current allow-list: every artifact pattern's companion admitted, bare evil.manifest.json refused.

Note for deploy: the server checkout serves this via symlink — a pull on web.sphene.net is the deploy. If artifact-cleanup.sh prunes by pattern, it should learn the companions in the same breath, or pruned artifacts leave orphaned sidecars behind.

@hpoul
hpoul merged commit ae55d40 into master Aug 20, 2026
2 checks passed
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