[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: ignore long living archlinux schroot in maintenance job…
Holger Levsen
gitlab at salsa.debian.org
Mon Sep 24 10:58:51 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
1ff6d6ec by Holger Levsen at 2018-09-24T09:58:34Z
reproducible Archlinux: ignore long living archlinux schroot in maintenance job finding old schroots
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- TODO
- bin/reproducible_maintenance.sh
Changes:
=====================================
TODO
=====================================
@@ -327,10 +327,10 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
** make build.sh
*** write db
**** write temp script to populate results table with known data: pkg.state, pkg.build_date. stop builders and html job when running this
-*** do not share /var/log/jenkins/reproducible-race-conditions.log with debian
+*** we share /var/log/jenkins/reproducible-race-conditions.log with debian, is that ok? (else fix maintenance job and handle_race_condition())
*** make build respect pacman exit code, see FIXME in _html_.sh
** html
-*** disable all current html creation
+*** disable (and then drop) all current html creation
*** leave all files, delete them (much) later
*** recreate them newly as index.html
**** create new job to recreate all pkg pages
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -319,7 +319,8 @@ fi
# find very old schroots
echo "$(date -u) - Detecting schroots older than 1 month"
-OLDSTUFF=$(find /schroots/ -mindepth 1 -maxdepth 1 -mtime +30 -exec ls -lad {} \;)
+# the reproducible-archlinux schroot is ignored because its ment to be long living
+OLDSTUFF=$(find /schroots/ -mindepth 1 -maxdepth 1 -mtime +30 -exec ls -lad {} \; | grep -v reproducible-archlinux)
if [ ! -z "$OLDSTUFF" ]; then
echo
echo "Warning: schroots older than 1 month found in /schroot:"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1ff6d6eca6a9d5183da953d6a535551b2a2d04c9
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1ff6d6eca6a9d5183da953d6a535551b2a2d04c9
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/20180924/c8e54342/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list