Repository navigation
ci(#8): per-plugin release workflow publishing a checksum manifest - #11
Merged
Merged
Conversation
Add .github/workflows/release.yml: on a <name>-vX.Y.Z tag, verify the tag's version matches plugins/<name>/plugin.yaml, generate manifest.json via 'spawn plugin manifest', and publish a GitHub Release with it as an asset. spawn verifies fetched plugin.yaml against this manifest when installing name@version. Uses the REST API (orion runner has no gh CLI). Document the release/tag convention in AUTHORING.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Increment 2 of the registry supply-chain RFC — the registry side.
What
.github/workflows/release.yml: triggered by a tag<name>-vX.Y.Z(e.g.tailscale-v1.2.0), it:plugins/<name>/plugin.yaml'sversion:(so released bytes and tag can't disagree),spawn, validates the spec, and generatesmanifest.jsonviaspawn plugin manifest— the same binary that verifies it, so CI never reimplements the format,manifest.jsonas an asset.spawn plugin install <name>@<version>then verifies the fetchedplugin.yamlagainst that manifest (spore-host/spawn#419).Uses the GitHub REST API directly (the orion self-hosted runner has no
ghCLI, perlint.yml).AUTHORING.mddocuments the release/tag convention.Requires the spawn side (spore-host/spawn#419) to be released before a real
name@versioninstall verifies end-to-end.Refs #8.