ci(srtla): dispatch-only publish + standardize apt-reindex payload - #30
Merged
Conversation
Move APT index ownership to the central apt-worker reindex. The publish job now uploads only the receiver srtla_rec .deb to R2 and fires an apt-reindex repository_dispatch instead of regenerating and GPG-signing Packages/Release per-repo per-arch (which raced across repos). The .deb stays receiver-only (srtla_send is excluded from install per ADR-003).
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.
What
publish-release.yml(apt-worker is now the sole R2 publisher)apt-reindexdispatch with 5-key standard payload:{component:"srtla",repo:"srtla",channel,tag,version}Why
The srtla publish workflow previously uploaded .debs directly to R2 and regenerated APT metadata per-repo. This is retired in favor of the centralized apt-worker sole-publisher model, which eliminates per-repo index races and centralizes signing.
How to verify
grep -E 'aws s3|R2_|--clearsign' .github/workflows/publish-release.yml→ ZEROgrep client-payload .github/workflows/publish-release.yml→ 5 keys includingrepo:"srtla"andtagpython3 -c "import yaml; yaml.safe_load(open('.github/workflows/publish-release.yml'))"→ validRisks
Low. The R2 upload removal is safe since apt-worker handles all R2 uploads. The dispatch step is gated on the GitHub Release creation (G-A guardrail).