[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: jenkins nodes: install bind9-dnsutils everywhere

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Apr 26 23:39:00 BST 2023



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


Commits:
bd9f0828 by Holger Levsen at 2023-04-26T23:51:15+02:00
jenkins nodes: install bind9-dnsutils everywhere

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

- - - - -
cc4911f2 by Holger Levsen at 2023-04-27T00:38:07+02:00
jenkins-shell-monitor: also monitor diskusage of live-build artifacts

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

- - - - -


2 changed files:

- bin/jenkins-shell-monitor.sh
- update_jdn.sh


Changes:

=====================================
bin/jenkins-shell-monitor.sh
=====================================
@@ -23,6 +23,7 @@ WARNING_LEVEL['r-b-userContent../dbd*/bullseye']=40
 WARNING_LEVEL['r-b-userContent../dbd*/bookworm']=60
 WARNING_LEVEL['r-b-userContent../dbd*/unstable']=145
 WARNING_LEVEL['r-b-userContent../dbd*/experimental']=50	# 30 outside freezes
+WARNING_LEVEL['live_build']=23
 
 # prepare a trap for cleaning up
 # using a global tempfile
@@ -83,9 +84,15 @@ main_loop() {
 					;;
 				"/var/lib/jenkins/userContent/reproducible")
 					DIR_PATH=/var/lib/jenkins/userContent/reproducible/debian
-					for i in buster bullseye bookworm unstable experimental ; do
-						VISIBLE_PATH="r-b-userContent../dbd*/$i"
-						DU=$(cd $DIR_PATH ; du -ch dbd*/$i  2>/dev/null | grep total | awk '{ print $1 }')
+					for i in buster bullseye bookworm unstable experimental live_build ; do
+						if [ "$i" = "live_build" ] ; then
+							DU_PATH="$i"
+							VISIBLE_PATH="$i"
+						else
+							DU_PATH="dbd*/$i"
+							VISIBLE_PATH="r-b-userContent../dbd*/$i"
+						fi
+						DU=$(cd $DIR_PATH ; du -ch ${DU_PATH} 2>/dev/null | grep total | awk '{ print $1 }')
 						if [ -n "$(echo $DU | grep G)" ] && [ -n "${WARNING_LEVEL[$VISIBLE_PATH]}" ] && [ "${WARNING_LEVEL[$VISIBLE_PATH]}" -lt "$(echo $DU | cut -d 'G' -f1 | cut -d '.' -f1)" ] ; then
 							DIR_USAGE="${YELLOW}$DU${FOREGROUND_COLOR}"
 						else


=====================================
update_jdn.sh
=====================================
@@ -312,6 +312,7 @@ if [ -f /etc/debian_version ] ; then
 			apt-utils
 			bash-completion 
 			bc
+			bind9-dnsutils
 			bsd-mailx
 			curl
 			debian-archive-keyring



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/392d63fda313fe34c3cf27c45c73dae7b6b80c0d...cc4911f26829758ca02cea5899da850f136276a0

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/392d63fda313fe34c3cf27c45c73dae7b6b80c0d...cc4911f26829758ca02cea5899da850f136276a0
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/20230426/0ee18cff/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list