Skip to content

ci(#8): per-plugin release workflow publishing a checksum manifest - #11

Merged
scttfrdmn merged 1 commit into
mainfrom
feat/8-release-manifest
Jul 20, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
feat/8-release-manifest

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

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:

  1. parses the tag into plugin name + version,
  2. verifies the tag's version matches plugins/<name>/plugin.yaml's version: (so released bytes and tag can't disagree),
  3. downloads the latest spawn, validates the spec, and generates manifest.json via spawn plugin manifest — the same binary that verifies it, so CI never reimplements the format,
  4. publishes a GitHub Release carrying manifest.json as an asset.

spawn plugin install <name>@<version> then verifies the fetched plugin.yaml against that manifest (spore-host/spawn#419).

Uses the GitHub REST API directly (the orion self-hosted runner has no gh CLI, per lint.yml).

AUTHORING.md documents the release/tag convention.

Requires the spawn side (spore-host/spawn#419) to be released before a real name@version install verifies end-to-end.

Refs #8.

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.
@scttfrdmn
scttfrdmn merged commit afb0160 into main Jul 20, 2026
1 check passed
@scttfrdmn
scttfrdmn deleted the feat/8-release-manifest branch July 20, 2026 19:06
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