Skip to content

Publish through apt-publisher instead of repogen - #2

Merged
frostyard-machines merged 1 commit into
mainfrom
publish-through-apt-publisher
Oct 22, 2026
Merged

frostyard-machines merged 1 commit into
mainfrom
publish-through-apt-publisher

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Moves publication from repogen publish-to-r2 to frostyard/apt-publisher (core ADR-0055; D-14, 2026-10-22). Registration: frostyard/apt-publisher#12.

Why: since 2026-10-03 the org's R2_* and REPOGEN_GPG_KEY secrets reach only snosi. The next push to main would fail at "Publish to frostyard repo". The last main build was on 2026-08-26.

Change

  • Removed: the repogen step and every use of R2_*, REPOGEN_GPG_KEY and CLOUDFLARE_*. This repository now holds no signing key and no bucket credentials.
  • release job (push or manual run on main only):
    • checks the artifacts: exactly one amd64 build of each of the 12 apps, versions <upstream>-frostyard<14 digits>, standard file names, under 2 GiB;
    • attests build provenance (actions/attest-build-provenance);
    • creates release main-<UTC time>-<short sha> with the 12 debs (gh release create, draft until complete).
  • request-publication job: sends publish-deb to apt-publisher with APT_PUBLISH_TOKEN, codenames ["trixie"]. Re-running this job alone requests the same release again.
  • Concurrency: main runs are no longer cancelled by a newer push. A cancel between release and request would leave a release that is never published. Pull request runs still cancel.
  • README: describes the new path.

Checks

  • actionlint passes.
  • The check step ran locally against fake debs: 12 correct packages pass; an extra package, a duplicate, a missing app, a ~deb13 version, arm64 and a wrong file name fail. shellcheck passes on the step.

After merge

  • Merge Register frostyard/omarchy-apps as a trixie-only producer apt-publisher#12 first.
  • The merge push builds all 12 apps, creates the release and requests publication. Then check: the apt-publisher publish run passes (read-back, canary), https://repository.frostyard.org/debian/dists/trixie/main/binary-amd64/Packages lists the new -frostyard2026… versions, and snosi gets a build dispatch.

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.

2 participants