[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian maintenance: again fixup 53e3f678935 and actually delete...

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Feb 24 11:31:24 GMT 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
f238902e by Holger Levsen at 2023-02-24T12:30:03+01:00
reproducible Debian maintenance: again fixup 53e3f678935 and actually delete old directories matching /srv/reproducible-results/rbuild-debian/r-b-build.*

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright 2014-2022 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2023 Holger Levsen <holger at layer-acht.org>
 #         © 2015-2021 Mattia Rizzolo <mattia at debian.org>
 # released under the GPLv2
 
@@ -47,11 +47,11 @@ fi
 # delete old temp directories in $REP_RESULTS/rbuild-debian
 #
 echo "$(date -u) - Deleting temp directories in $REP_RESULTS/rbuild-debian, older than 3 days."
-OLDSTUFF=$(find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -o -name "r-b-build.*" -exec ls -lad {} \; 2>/dev/null|| true)
+OLDSTUFF=$(find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name 'tmp.*' -o -name 'r-b-build.*' -exec ls -lad {} \; 2>/dev/null|| true)
 if [ ! -z "$OLDSTUFF" ] ; then
 	echo
 	echo "Old temp directories found in $REP_RESULTS/rbuild-debian"
-	find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -exec rm -rv --one-file-system {} \; || true
+	find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name 'tmp.*' -o -name 'r-b-build.*' -exec rm -rv --one-file-system {} \; || true
 	echo "These old directories have been deleted."
 	echo
 	DIRTY=true



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f238902e7134aa544e184ea362a92e1fee897158

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f238902e7134aa544e184ea362a92e1fee897158
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/20230224/88533b92/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list