mkosi-based Gitea runner OS and job image
os / os (push) Failing after 45s
job / job (push) Failing after 1m3s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-12 22:43:46 +01:00
commit d4eebeb01f
33 files changed
+529

No files matched your search

@@ -0,0 +1,32 @@
# The runner's configuration (gitea-runner.service).
# Every option: `gitea-runner config generate`.
runner:
# Parallel jobs, asked at first boot (stored in /etc/gitea-runner/runner.env).
capacity: ${GITEA_RUNNER_CAPACITY}
# On stop (before an update reboot), take no new jobs and give running ones this long to finish.
shutdown_timeout: 30m
envs:
# podman in jobs: the job's own storage plus the shared base images (see volumes below).
CONTAINERS_STORAGE_CONF: /usr/lib/gitea-runner/job/storage.conf
labels:
# Our job image (job/Containerfile): git, node, skopeo and podman.
- "linux:docker://git.plabble.org/job79/git-runner-mkosi-job:latest"
# Plain Fedora; our own build workflows use it, so a broken job image can't block its own fix.
- "fedora:docker://quay.io/fedora/fedora:45"
container:
# Jobs build OS images, which needs root: they run privileged on root's podman.
privileged: true
# podman can't keep its storage, or build contexts, on the job's own overlay root.
options: --volume /var/lib/containers --volume /var/tmp
# Jobs run their own podman, never the runner's.
docker_host: "-"
volumes:
# Base images, pulled at boot by gitea-runner-images.service; podman in jobs uses them read-only.
- /var/lib/containers/base-images:/var/lib/base-images:ro
# podman storage settings for jobs (see the file).
- /usr/lib/gitea-runner/job:/usr/lib/gitea-runner/job:ro
force_pull: true
cache:
# Jobs reach the cache on the host through their bridge; the firewall allows this port.
host: host.containers.internal
port: 8088