forgejo: give the prune job an hour

Container removal on the Pi measured ~10 min for 48 containers with a ci job
live; 30 minutes would kill the run half-way through the 61 GB image prune.
This commit is contained in:
Sirius DevOps 2026-10-23 00:13:36 -04:00
commit fbae77e985

View file

@ -26,7 +26,10 @@ spec:
jobTemplate: jobTemplate:
spec: spec:
backoffLimit: 1 backoffLimit: 1
activeDeadlineSeconds: 1800 # Container/image removal on the Pi runs at minutes-per-dozen under load
# (measured: 48 containers in ~10 min with a ci job live). One hour keeps
# the nightly run from being killed half-way through the image prune.
activeDeadlineSeconds: 3600
template: template:
spec: spec:
restartPolicy: Never restartPolicy: Never