From fbae77e985b0795961ca9cb1e953dad81337c79f Mon Sep 17 00:00:00 2001 From: Sirius DevOps Date: Fri, 23 Oct 2026 00:13:36 -0400 Subject: [PATCH] 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. --- apps/base/forgejo/prune-cronjob.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/base/forgejo/prune-cronjob.yaml b/apps/base/forgejo/prune-cronjob.yaml index e560771..1e38c0c 100644 --- a/apps/base/forgejo/prune-cronjob.yaml +++ b/apps/base/forgejo/prune-cronjob.yaml @@ -26,7 +26,10 @@ spec: jobTemplate: spec: 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: spec: restartPolicy: Never