feat(runner): add a Forgejo runner deploy kit #116
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics!116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/runner-deploy-kit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
scripts/forgejo-runner/packages the runner setup that came out of the CI outage:config.template.yml- authoritative runner config: labels for thenix-cihost lane and theandroid-cidocker lane,capacity: 1,timeout: 3h, cache on.deploy.sh- renders the config into a state dir, registers a repository-scoped runner, installs asystemd --userunit, and only reports success after the runner declared its labels to the instance.docs/forgejo-runner-deploy.md- runbook: deploy commands, lane table, sandboxing and scaling rules.scripts/AGENTS.mdowns the kit,docs/AGENTS.mdindexes the runbook;.github/AGENTS.mdgains the Forgejo CI contracts learned during the outage (mirror gaps, token semantics, artifact limits).Why
Two production failure modes: a user-scoped runner registration never received dispatched tasks, and label/timeout/capacity misconfiguration let concurrent builds cancel every job on the docker runner. The kit encodes the working configuration so runners can be deployed on any host reproducibly.
Verification
bash -n deploy.shforgejo-runner daemonloads it)systemd-analyze verifyDeploy is operator-run by design: merge, then follow
docs/forgejo-runner-deploy.mdon the target host.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.