[Git][qa/jenkins.debian.net][master] reproducible Debian: first cleanup, the slay the cleaner
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Oct 24 16:06:28 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
08920dc6 by Holger Levsen at 2023-10-24T17:06:13+02:00
reproducible Debian: first cleanup, the slay the cleaner
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_slay.sh
Changes:
=====================================
bin/reproducible_slay.sh
=====================================
@@ -7,16 +7,17 @@ set +e
# usually called by /srv/jenkins/bin/reproducible_cleanup_nodes.sh
# this script just kills everyone…
-sudo killall timeout # all builds are done using timeout
+sudo killall -9 timeout # all builds are done using timeout
sudo slay 1111
sudo slay 2222
pgrep -u 1111,2222
# only slay jenkins on the build nodes…
if [ "$HOSTNAME" != "jenkins" ] ; then
- sudo slay jenkins
- # cleanup build dirs
+ # …but cleanup build dirs first, as the last slay will also kill this running script...
REP_RESULTS=/srv/reproducible-results
for PATTERN in 'tmp.*' 'r-b-build.*' ; do
find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -name "$PATTERN" -exec rm -rv --one-file-system {} \; || true
done
+ # finally, slay jenkins
+ sudo slay jenkins
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/08920dc6a3a91d097ce63dbb9171c808581e9a96
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/08920dc6a3a91d097ce63dbb9171c808581e9a96
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/20231024/1973978b/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list