The gitea-actions role now uses a `gitea_runners` list instead of a
single `gitea_instance_url`. Each instance gets its own config, systemd
service, working directory, and cache. Migrates from the old single
`act_runner.service` to per-instance `act_runner-{name}.service`.
Adds git.skudak.com alongside git.debyl.io as runner targets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
487 B
Django/Jinja
17 lines
487 B
Django/Jinja
[Unit]
|
|
Description=Gitea Actions runner ({{ runner_name }})
|
|
Documentation=https://gitea.com/gitea/act_runner
|
|
After=network.target podman.socket
|
|
|
|
[Service]
|
|
ExecStart={{ act_runner_bin }} daemon --config {{ act_runner_config_dir }}/config-{{ runner_name }}.yaml
|
|
WorkingDirectory={{ act_runner_work_dir }}/{{ runner_name }}
|
|
TimeoutSec=0
|
|
RestartSec=10
|
|
Restart=always
|
|
User={{ gitea_runner_user }}
|
|
Environment="DOCKER_HOST=unix:///run/podman/podman.sock"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|