Rewrite on the layout of agentos
os / os (push) Failing after 29s

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:
Job79andClaude Opus 5.5 committed 2026-11-22 15:59:36 +00:00
1 parent 0569bce676
commit 0733ff55f3
49 files changed
+492 -509

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# config.yaml configures the runner (gitea-runner.service). It lists only what
# differs from the defaults, which `gitea-runner config generate` prints.
#
# The image links it into /etc read-only
# (mkosi.extra/usr/lib/tmpfiles.d/factory-etc.conf). To change it on one
# machine, replace the link with a copy. Updates then no longer change it.
runner:
# file is where `gitea-runner register` keeps the registration, wherever it
# runs. gitea-runner.path starts the runner once it is there.
file: /var/lib/gitea-runner/.runner
# shutdown_timeout lets running jobs finish when the runner stops, as it
# does before an update reboots the machine.
shutdown_timeout: 1h
labels:
- linux:docker://quay.io/fedora/fedora:45
container:
# privileged lets jobs build OS images, as this repository's own workflow
# does. A job can then take over the machine, so only run jobs you trust.
privileged: true
# docker_host "-" keeps podman's socket out of the jobs.
docker_host: "-"
# options gives each job a /var/tmp volume. On the container's overlayfs,
# mkosi loses the xattrs of the files it copies, such as file capabilities.
options: --volume /var/tmp