feat(debian): publish .deb packages + signed apt repo#41
Draft
kjanat wants to merge 1 commit into
Draft
Conversation
Add a Debian/apt distribution channel alongside crates.io, npm, and AUR. - runner-run .debs for amd64/arm64/armhf, repackaged from the prebuilt release tarballs (glibc, dynamically linked) like the AUR `-bin`/npm channels — same binaries, byte-for-byte. Ship the runner+run binaries, bash/zsh/fish completions in the canonical autoload dirs, the pwsh script, copyright, and a native changelog. A lintian override documents the one false positive (embedded-library libyaml: pure-Rust yaml-rust2, not C libyaml), so packages lint clean of errors. - Signed apt repository served at https://apt.runner.kjanat.dev (GitHub Pages, custom domain): apt-get install runner-run. pool/ is rebuilt from the published branch each release so old versions stay installable; dists/ is regenerated and GPG-signed (InRelease + detached Release.gpg). - debian-release.yml: build-deb attaches the .debs to the release (no secrets, always runs); publish-apt assembles+signs+pushes the repo to gh-pages, gated behind an `apt` Environment and inert until APT_GPG_PRIVATE_KEY is set. - Docs: README + site install entries, debian/README.md (channel + the one-time maintainer setup), CHANGELOG. Validated locally: dpkg-deb build, lintian --fail-on error (clean), install + run, completion path rewrite, and an isolated apt-get update against the signed repo (InRelease + Release.gpg verify, apt-cache resolves runner-run). https://claude.ai/code/session_018uA1KjrCHk6PPK2t6zaYYH
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
runner | 6c73689 | Commit Preview URL Branch Preview URL |
Jun 04 2026, 09:34 AM |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
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.
Adds a Debian/apt distribution channel alongside crates.io, npm, and AUR.
What's included
Packages —
runner-run.debs foramd64/arm64/armhf, repackaged from the prebuilt GitHub-release tarballs (glibc, dynamically linked), exactly like the AUR-binand npm channels — the shipped binaries are byte-for-byte the released ones. Each shipsrunner+run, bash/zsh/fish completions in the canonical autoload dirs, the pwsh script, DEP-5copyright, and a nativechangelog.gz.apt repository — signed repo served at https://apt.runner.kjanat.dev (GitHub Pages, custom domain):
pool/is rebuilt from the published branch each release (old versions stay installable);dists/is regenerated and GPG-signed (InRelease+ detachedRelease.gpg).CI —
.github/workflows/debian-release.ymlonrelease: published+workflow_dispatch/dry-run:build-deb: repackage →lintian --fail-on error→ attach.debsto the release. No secrets, always runs.publish-apt: assemble + sign + push togh-pages. Gated behind anaptEnvironment, inert untilAPT_GPG_PRIVATE_KEYis set.Docs — README + site install entries,
debian/README.md, CHANGELOG.Validated locally (end-to-end)
dpkg-debbuilds all three;lintian --fail-on errorclean on the arch-matched package (libyaml false positive overridden + documented; only benignno-manual-pagewarnings remain).deb, ran the binaries, confirmed completions rewritten to/usr/binwith no staging/tmp leaks, zsh split correctapt-get update→ signature verified,apt-cacheresolvesrunner-run 0.12.0with correctpool/Filename;gpgvGood onInReleaseandRelease.gpgshellcheck+dprintclean, workflow YAML parsesMaintainer setup to go live (apt repo is inert until done)
aptGitHub Environment; addAPT_GPG_PRIVATE_KEY(+APT_GPG_PASSPHRASEif the key has one). Key-gen snippet indebian/README.md.gh-pages: Settings → Pages → Deploy from a branch →gh-pages/ root.apt.runner.kjanat.dev → kjanat.github.ioThe
.debfiles attach to the next release with no setup; only the hosted repo needs the above. Validate first via Actions →debian-release→ Run workflow → settag+ tickdry-run.Notes
Packages are native (version
0.12.0, no Debian revision) since upstream owns the packaging; a semver-rc.Nprerelease maps to a Debian~rc.Nso it sorts before the final release.https://claude.ai/code/session_018uA1KjrCHk6PPK2t6zaYYH
Generated by Claude Code