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>
This commit is contained in:
1 parent
0569bce676
commit
0733ff55f3
49 files changed
+492
-509
No files matched your search
@@ -1,5 +1,6 @@
|
||||
# Daily at about 04:10, reboot into a downloaded update. Stop the runner first: it takes no new
|
||||
# jobs and lets running ones finish (runner.shutdown_timeout).
|
||||
# drain.conf stops the runner before an update reboots the machine, so running
|
||||
# jobs can finish first (TimeoutStopSec= of gitea-runner.service). A plain
|
||||
# reboot would stop the job containers at the same time as the runner.
|
||||
[Service]
|
||||
ExecStartPre=/bin/sh -c '/usr/lib/systemd/systemd-sysupdate pending || exit 0; systemctl stop gitea-runner'
|
||||
TimeoutStartSec=40min
|
||||
ExecStartPre=/bin/sh -c '/usr/lib/systemd/systemd-sysupdate pending || exit 0; systemctl stop gitea-runner.service'
|
||||
TimeoutStartSec=70min
|
||||
Reference in new issue
Block a user