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 @@
|
||||
# stpvm (Proxmox VM 106): the stpweb host. Takes only the jobs that touch that
|
||||
# stack (`self-hosted`: deploys, maintenance). Host mode as adamf, who owns
|
||||
# ~/deploy/stpweb and the SSH key the deploy job fetches with. The ubuntu-*
|
||||
# labels run jobs in containers. Registered as `stppi` until 2026-11-27.
|
||||
RUNNER_NAME=stpvm
|
||||
RUNNER_USER=adamf
|
||||
RUNNER_CAPACITY=1
|
||||
RUNNER_LABELS="self-hosted:host,ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest,ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04,ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
|
||||
Reference in New Issue
Block a user