47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
|
|
# The Forgejo Actions runner of this repository's CI, on sahaquiel. Installed as
|
||
|
|
# /etc/forgejo-runner/config.yml, read by forgejo-runner.service (next to this file).
|
||
|
|
# Written for forgejo-runner v13.1.0; its full reference: `forgejo-runner generate-config`.
|
||
|
|
#
|
||
|
|
# Jobs run directly on the host as the unprivileged user `runner`, never in containers:
|
||
|
|
# running containers would take Docker access, which is root on the production server.
|
||
|
|
# The systemd unit keeps the jobs away from production.
|
||
|
|
|
||
|
|
log:
|
||
|
|
level: info
|
||
|
|
job_level: info
|
||
|
|
|
||
|
|
runner:
|
||
|
|
# One job at a time: CI shares the machine with the instance.
|
||
|
|
capacity: 1
|
||
|
|
timeout: 1h
|
||
|
|
shutdown_timeout: 10m
|
||
|
|
fetch_timeout: 30s
|
||
|
|
# How often to ask Forgejo for work. The default (2 s) is needless load on ramiel,
|
||
|
|
# a one-core server.
|
||
|
|
fetch_interval: 10s
|
||
|
|
report_interval: 1s
|
||
|
|
# `runs-on: sahaquiel` in a workflow means: here, on the host.
|
||
|
|
labels: ["sahaquiel:host"]
|
||
|
|
|
||
|
|
cache:
|
||
|
|
# No cache server (it would listen on a port of its own); the SDKs and package
|
||
|
|
# caches of host jobs stay in the runner's home between jobs anyway.
|
||
|
|
enabled: false
|
||
|
|
|
||
|
|
container:
|
||
|
|
# Never talk to Docker.
|
||
|
|
docker_host: "-"
|
||
|
|
|
||
|
|
host:
|
||
|
|
workdir_parent: /var/lib/forgejo-runner/work
|
||
|
|
|
||
|
|
server:
|
||
|
|
connections:
|
||
|
|
code.halkyon.app:
|
||
|
|
url: https://code.halkyon.app/
|
||
|
|
# From the repository's Settings → Actions → Runners → Create new runner. Not a
|
||
|
|
# secret; the installation replaces the placeholder.
|
||
|
|
uuid: RUNNER_UUID
|
||
|
|
# The token is kept in /etc/forgejo-runner/token (root only) and handed over by
|
||
|
|
# systemd (LoadCredential in the unit).
|
||
|
|
token_url: file:$CREDENTIALS_DIRECTORY/token
|