Run jobs in our own job image
os / os (push) Failing after 2m42s

mkosi.images/job/ builds an OCI image with git, Node.js 26 and dnf, and
the OS ships it in /usr, so it is signed and updated with the OS.
gitea-runner.service loads it at boot instead of pulling Fedora, and
JavaScript actions work without installing Node.js in each job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-22 17:48:04 +00:00
1 parent 460bdbe380
commit d1c7c55700
7 files changed
+43 -10

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@ image.
- **Encrypted with a TPM:** everything that isn't read-only, such as `/etc`
and `/var`, is encrypted. The TPM unlocks it only for correctly signed UKIs.
- **Jobs in containers:** each job runs in its own privileged container on
root's podman, by default in plain Fedora (`runs-on: linux`). Privileged
root's podman. Jobs with `runs-on: linux` run in our job image: Fedora with
git, Node.js 26 and dnf, built with the OS and shipped in `/usr`. Privileged
jobs can build OS images, but can also take over the VM, so only use it for
repositories you trust. Container storage is wiped at every boot.
- **Self-updating:** the image rebuilds weekly. The VM lets running jobs finish