[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible maintenance: actually cleanup those dirs
Holger Levsen
holger at moszumanska.debian.org
Wed Feb 17 13:25:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ffdfe345cda13b9eeae9e2924b13cf096716f4e6
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Feb 17 14:24:53 2016 +0100
reproducible maintenance: actually cleanup those dirs
---
TODO | 1 -
bin/reproducible_maintenance.sh | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/TODO b/TODO
index 4c63f7a..86df3fd 100644
--- a/TODO
+++ b/TODO
@@ -130,7 +130,6 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma
** check rbuild logs for "DIFFOSCOPE='E: Failed to change to directory /tmp: Permission denied' and deal with those
* higher prio:
-** on the build nodes, /srv/reproducible-results/ doesnt get cleaned up, each one has 100k dirs in it…
** reenable disorderfs setup, check that it *always* unmounts + cleans up nicely
** pkg pages
*** new table in pkg/test history page: schedule - if that package is currently scheduled
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index dddc463..eb5769a 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -120,7 +120,7 @@ OLDSTUFF=$(find $REP_RESULTS -maxdepth 1 -type d -mtime +1 -name "tmp.*" -o -nam
if [ ! -z "$OLDSTUFF" ] ; then
echo
echo "Old temp directories found in $REP_RESULTS"
- find $REP_RESULTS -maxdepth 1 -type d -name "tmp.*" -mtime +1 -exec rm -rv {} \; || true
+ find $REP_RESULTS -maxdepth 1 -type d -mtime +1 -name "tmp.*" -o -name "rbuild*" -exec rm -rv {} \; || true
echo "These old directories have been deleted."
echo
DIRTY=true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list