refactor: gitea runners
runner nix smoke / nix label and flake smoke (push) Failing after 1m22s
runner ubuntu smoke / ubuntu-latest label smoke (push) Successful in 0s

This commit is contained in:
2026-10-03 12:30:42 +00:00
parent e215c11b0b
commit be4ea774b2
14 changed files with 1463 additions and 626 deletions
+6 -2
View File
@@ -26,8 +26,12 @@ Region order for fallback: `nbg1`, then `fsn1`, then `hel1`.
The legacy Kubernetes persistent pool is disabled (`replicas: 0`) and has no
registered labels. All listed labels are handled by the VM controller. After a
successful job, a bootstrapped VM remains running and idle until its next hourly
lifetime boundary, capped by label TTL. A queued job from same repository with
same label reuses it without another VM creation or budget reservation.
lifetime boundary, capped by its original hard TTL. Before becoming generic
idle, its repository runner registration is disabled, deleted, and confirmed
absent. A queued job from any allowed repository may claim a VM with an exact
compatible server type, location, architecture, and image profile. The
controller rebuilds it from that clean image and registers a fresh runner
identity; reuse creates no second VM or budget reservation.
Operational details: `infra/gitea-runners/runbook.md` and
`package/gitea-runner-controller/decide.sh`.