[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian live: remove images (ment for openqa) after 12h, to save...
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Apr 27 21:15:26 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
a184beca by Holger Levsen at 2023-04-27T22:15:04+02:00
reproducible Debian live: remove images (ment for openqa) after 12h, to save (constantly used) diskspace
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -763,13 +763,13 @@ if [ -n "$ARTIFACTS" ] ; then
echo
fi
-# remove artifacts from the debian live build jobs, older than a day
-echo "$(date -u) - Checking for artifacts from debian live build jobs, that are older today plus a few hours"
-ARTIFACTS=$(find $DEBIAN_BASE/live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mtime +0.25 -exec ls -lad {} \; 2>/dev/null|| true)
+# remove artifacts from the debian live build jobs, older twelve hours
+echo "$(date -u) - Checking for artifacts from debian live build jobs, that are older than 12h"
+ARTIFACTS=$(find $DEBIAN_BASE/live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mmin +720 -exec ls -lad {} \; 2>/dev/null|| true)
if [ -n "$ARTIFACTS" ] ; then
echo
echo "Removed old debian-live artifacts:"
- find $DEBIAN_BASE/live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mtime +0.25 -exec rm -v --one-file-system {} \; || true
+ find $DEBIAN_BASE/live_build/artifacts/r00t-me/* -maxdepth 1 -type f -mmin +720 -exec rm -v --one-file-system {} \; || true
echo
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/a184beca83b2da8474d511990b1ac38bd3ca91ff
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/a184beca83b2da8474d511990b1ac38bd3ca91ff
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230427/d5e0ec32/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list