vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Bound the runner's image storage by age
3455902aa415e013b0e5525e3fd2271a2b1a4e9a · Keenan Nemetz · 3d ago · parent 1a9b3838
Bound the runner's image storage by age The job cache and saved checkouts have caps, but image storage belonged to the runtime and grew two ways: a changed `.vole/images` definition left a permanent new digest tag behind, and a moved registry tag left the previous layers dangling. `--disk-reserve` could not reclaim either; it stops a job instead. Add `--image-max-age` (default 168h; 0 keeps every image), threaded through agent.Options. At startup and on the cache trimmer's beat the runner asks the runtime to prune unused images older than the age, using the filter docker, podman, and nerdctl all express. A job holds an image guard from resolution until its container is up, so a pass that races a lease gives way. A runner with `--container-pull never` keeps every tagged image and prunes dangling layers only, because it may have no network to fetch an evicted image again. A runtime that will not prune is reported once and then left alone: the runner keeps serving. The primitive lives in ci/container so `vole workflow run` can use it later; the policy and its beat live in ci/agent beside the two existing trimmers. closes: 01M8CR0RN88JF14PKAZ0D387ND
packaging/runner.env +3
| @@ -23,6 +23,9 @@ | |||
| 23 | 23 | # --disk-reserve free space to keep under --dir (default 2G). A job that | |
| 24 | 24 | # takes the filesystem below it is stopped while it runs, | |
| 25 | 25 | # because a job tree is a host directory with no quota. | |
| 26 | # --image-max-age age after which images no container uses are pruned | ||
| 27 | # (default 168h). 0 keeps every image. With | ||
| 28 | # --container-pull never only dangling layers are pruned. | ||
| 26 | 29 | # --label what this machine is, such as linux or arm64. A job | |
| 27 | 30 | # with runs-on only comes to a runner carrying every | |
| 28 | 31 | # label it asks for. | |