[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] maintenance: remove old builds of d-i manuals
Holger Levsen
gitlab at salsa.debian.org
Fri Nov 20 13:41:12 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
db782ca2 by Holger Levsen at 2020-11-20T14:40:56+01:00
maintenance: remove old builds of d-i manuals
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/maintenance.sh
Changes:
=====================================
bin/maintenance.sh
=====================================
@@ -58,6 +58,18 @@ remove_old_rebootstrap_logs() {
fi
}
+remove_old_d-i_manual_builds() {
+ local OLDSTUFF
+ # delete builds of d-i manual
+ OLDSTUFF=$(find /srv/d-i/d-i-manual-???? -maxdepth 0 -mtime +3 -exec rm -r {} \;)
+ if [ ! -z "$OLDSTUFF" ] ; then
+ echo "Old builds of d-i manuals have been deleted:"
+ echo
+ echo "$OLDSTUFF"
+ echo
+ fi
+}
+
report_old_directories() {
# find and warn about old temp directories
if [ -z "$3" ] ; then
@@ -301,6 +313,7 @@ else
done
;;
d-i) report_old_directories /srv/d-i 7 /srv/d-i/workspace /srv/d-i/isos
+ remove_old_d-i_manual_builds
;;
rebootstrap) remove_old_rebootstrap_logs
;;
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/db782ca229a85d096b03fe4ebc6b88d477405613
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/db782ca229a85d096b03fe4ebc6b88d477405613
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/20201120/8352fa4e/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list