Files
Kamino/changelogs/fragments/gitea-runner-docker-prune-count-threshold.yml
T
Defame1297 e91c074373 fix(gitea_runner): address review of the prune count and threshold
Give each new input its own assert message so every refused-input case
matches only its own input, and cover a negative count and a bad disk
check schedule. Fire the pressure prune only above the threshold, as
the inputs describe it. Name the disk check script apart from the
pressure service, prefix the new registers as internal, and keep the
new comments short.

Refs #319

Assisted-by: Claude Code
2026-11-23 18:20:32 +00:00

10 lines
691 B
YAML

---
minor_changes:
- >-
gitea_runner - The Docker prune can bound the image cache by count and by disk use. With
``gitea_runner_docker_prune_keep_per_repository`` above 0 the weekly prune keeps the newest N image IDs of each
repository and removes every other image no container uses. With ``gitea_runner_docker_prune_disk_threshold_percent``
set, a timer (``gitea_runner_docker_prune_disk_check_schedule``, hourly by default) runs the count prune and a builder
prune capped at ``gitea_runner_docker_prune_builder_keep_storage`` when the filesystem holding the Docker root is
fuller than that, behind the same job gate as the weekly prune. Both are off by default.