Files
runneros/mkosi.extra/usr/lib/systemd/system/gitea-runner.service
T
Job79andClaude Opus 5.5 0733ff55f3
os / os (push) Failing after 29s
Rewrite on the layout of agentos
Start again from agentos: a read-only, verity-checked /usr with A/B
updates, and a TPM-encrypted btrfs root made at first boot that holds
/etc and /var. On top of that the runner: gitea-runner from gitea.com,
a path unit that starts it once registered, and a drain before update
reboots. Jobs run in plain Fedora on root's podman.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:59:36 +00:00

21 lines
791 B
Desktop File

# gitea-runner.service runs the Gitea Actions runner, which runs each job in a
# container on root's podman. gitea-runner.path starts it once it is
# registered. It runs as root: whoever has podman's socket is root anyway.
#
# TimeoutStopSec is a bit longer than runner.shutdown_timeout in
# /etc/gitea-runner/config.yaml, so running jobs can finish on stop.
[Unit]
Description=Gitea Actions runner
Wants=network-online.target
After=network-online.target podman.socket
Requires=podman.socket
[Service]
# HOME holds the cache of actions/cache, next to the registration.
Environment=HOME=/var/lib/gitea-runner
Environment=DOCKER_HOST=unix:///run/podman/podman.sock
ExecStart=/usr/bin/gitea-runner -c /etc/gitea-runner/config.yaml daemon
Restart=on-failure
RestartSec=10s
TimeoutStopSec=65min