[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux maintenance: delete stuff older than 2 days in...
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Apr 27 16:52:26 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
c82ee460 by Holger Levsen at 2023-04-27T17:52:04+02:00
reproducible Arch Linux maintenance: delete stuff older than 2 days in /tmp/archlinux-ci/ (instead of 3)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_maintenance.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -76,12 +76,12 @@ fi
#
# delete leftovers in /tmp/archlinux-ci/
#
-echo "$(date -u) - Deleting leftovers in /tmp/archlinux-ci/, older than 3 days."
-OLDSTUFF=$(find /tmp/archlinux-ci/* -maxdepth 0 -mtime +2 -exec ls -lad {} \; || true)
+echo "$(date -u) - Deleting leftovers in /tmp/archlinux-ci/, older than 2 days."
+OLDSTUFF=$(find /tmp/archlinux-ci/* -maxdepth 0 -mtime +1 -exec ls -lad {} \; || true)
if [ -n "$OLDSTUFF" ] ; then
echo
echo "Leftovers found in /tmp/archlinux-ci/"
- find /tmp/archlinux-ci/* -maxdepth 0 -mtime +2 -exec sudo rm -rf --one-file-system {} \; || true
+ find /tmp/archlinux-ci/* -maxdepth 0 -mtime +1 -exec sudo rm -rf --one-file-system {} \; || true
echo "These old leftovers have been deleted."
echo
DIRTY=true
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c82ee460683b54991068c35a95a42048827096e2
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c82ee460683b54991068c35a95a42048827096e2
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/f24d3682/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list