Repository navigation
Update pipeline: overview, feed health checks and protected catalog signing - #5
Merged
Merged
Conversation
The catalog key used to sit in the same job that downloads the image, fetches the runtime and assembles the payload. Assembly now runs without any credential and stages the complete set as a draft release. A small job in the caller's catalog-signing environment (main only) downloads just catalog.json, checks its digest against the assembly job's record, signs and verifies it, and uploads the signature. A final job attests every asset (SHA256SUMS) and publishes the release. Images built by a workflow that records provenance must carry a valid attestation before they are assembled. Callers may keep passing catalog-signing-key; once the key lives in their catalog-signing environment, that secret takes precedence. Callers pinned to the previous revision are unaffected; advancing the pin needs id-token and attestations write permissions on the calling job.
Third-party actions are pinned by commit SHA. The two jobs that sign catalogs here run in the catalog-signing environment, so the key can move out of the repository secrets, where any workflow on any branch can read it.
aurorasilicon.org serves every package feed, the Nix cache and the installer catalogs only while aurora-silicon/aurora-silicon.github.io is public with Pages and the custom domain enabled; on 2026-10-23 making it private took all of them offline. feeds-health.yml checks that repository's state, the site, both channels of the ALARM and Fedora feeds (signatures verified with keys read from their repositories, not from the site), the Nix cache descriptor and key, and the signed installer catalogs. While anything fails one issue stays open with the current report; FEEDS_HEALTH_WEBHOOK, if set, is notified when it opens and closes.
…ents docs/updates.md covers all three distributions: what installed systems follow today, the testing and stable channels, the automated pipeline from source branches to signed feeds and its switches, the signing keys and where they live, provenance, a threat model, a verification checklist, key rotation and revocation, and the decisions left to the maintainers. setup-update-environments.sh creates the testing-signing, stable-promotion and catalog-signing environments (main only; required reviewers for promotion). It never handles secret values; it prints the commands that move each key.
This was referenced Oct 23, 2026
Merged
Merged
The source tracker cannot open PRs with the workflow token while Actions may not create pull requests; document the setting and the preferred GitHub App, and create its source-tracking environment.
A delivery published by the attesting build-payload.yml carries a SHA256SUMS covered by a GitHub build provenance attestation from that reusable workflow. Adoption now checks that every file it downloads is listed there and that the attestation covers the whole list; deliveries from before the change are accepted and reported as unattested.
Environments hold every signing key, the tracker opens PRs with the workflow token until a GitHub App is needed, main blocks force pushes and deletion, and automatic merging waits for a week of clean tracker PRs. The release procedure lists what runs by itself and what is dispatched by hand.
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.
Part of the update pipeline: merge to a source branch, signed packages on every distribution's testing channel, one-click promotion to stable. This PR holds the cross-distribution pieces; the distribution PRs are aurora-silicon/alarm-aurora#14, aurora-silicon/fedora-aurora#14 and aurora-silicon/nixos-aurora#14.
What changes
docs/updates.md: what installed systems follow today, the testing and stable channels, the automated pipeline and its switches, where each signing key lives, provenance, a threat model, a verification checklist, key rotation and revocation, and the decisions left to the maintainers.feeds-health.yml+scripts/check-feeds.py: every 30 minutes, check thataurora-silicon/aurora-silicon.github.iois public with Pages on (the custom domain every feed depends on), and that every live feed and catalog is served and correctly signed, using keys read from the repositories rather than from the site. One issue stays open while anything fails;FEEDS_HEALTH_WEBHOOK, if set, is notified when it opens or closes.build-payload.yml: assembly no longer holds the catalog key. It stages the delivery as a draft release; a small job in the caller'scatalog-signingenvironment signs justcatalog.json(digest-checked); a final job attests every asset and publishes. Images whose workflow attests must carry a valid attestation. Callers pinned to the old revision are unaffected.native-only-catalogs.ymlandnative-developer-build.ymlsign in thecatalog-signingenvironment; all actions are pinned by SHA.scripts/setup-update-environments.sh: createstesting-signing,stable-promotion(required reviewers) andcatalog-signing, branchmainonly. Dry run by default; never touches secret values.Before merging
Run
scripts/setup-update-environments.sh --reviewer <login> --applyfirst. A workflow that names an environment that does not exist creates it unprotected.Checks
scripts/verify-catalogsand actionlint pass locally.check-feeds.pyrun against the live site: every check passes (output in the PR's feed-health run).No live feed, catalog or key is changed.