Install gitea-runner on a VM as a systemd service
One hosts/<host>.env per runner (name, user, labels, capacity) and an idempotent install.sh: pinned VERSION with sha256 check, minimal config.yaml and .runner in /var/lib/gitea-runner, upstream's systemd unit. Replaces stpweb's gitea-runner/ and stpbuild's untracked copy, both started by @reboot cron. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# stpbuild (Proxmox VM 123, 192.168.178.240): the build VM. Instance-wide;
|
||||
# tests, image builds and Renovate for every repo (`runs-on: build`). Host
|
||||
# mode as adamf (docker group, passwordless sudo for apt in jobs). No SSH key:
|
||||
# jobs fetch over HTTP with their own GITEA_TOKEN.
|
||||
RUNNER_NAME=stpbuild-runner
|
||||
RUNNER_USER=adamf
|
||||
RUNNER_CAPACITY=2
|
||||
RUNNER_LABELS="build:host"
|
||||
Reference in New Issue
Block a user