[Git][qa/jenkins.debian.net][master] reproducible maintenance: remove 1 hardcoding of Debian release names

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Jul 5 23:27:26 BST 2023



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


Commits:
efcdcfe0 by Holger Levsen at 2023-07-06T00:27:08+02:00
reproducible maintenance: remove 1 hardcoding of Debian release names

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

- - - - -


1 changed file:

- bin/reproducible_maintenance.sh


Changes:

=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -515,12 +515,7 @@ cleanup_old_schroots() {
 	fi
 }
 cleanup_old_schroots "schroots" 31 "/schroots/(reproducible-.+-[0-9]{1,5}|schroot-install-.+)"
-if [ -f /etc/debian_testing ] ; then
-	TESTING=$(cat /etc/debian_testing)
-else
-	TESTING=trixie
-fi
-cleanup_old_schroots "unstable and $TESTING schroots" 5 "/schroots/reproducible-(unstable|$TESTING)-diffoscope-.+-[0-9]{1,5}"
+cleanup_old_schroots "unstable and ${TESTING_SUITE} schroots" 5 "/schroots/reproducible-(unstable|${TESTING_SUITE})-diffoscope-.+-[0-9]{1,5}"
 
 # find very old schroots
 echo "$(date -u) - Detecting schroots older than 1 month"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/efcdcfe066f16b2d735dde97a9d52c295b1540c9
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/20230705/8293bfa1/attachment.htm>


More information about the Qa-jenkins-scm mailing list