[Git][qa/jenkins.debian.net][master] jenkins nodes: refactoring

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Sep 21 14:52:21 BST 2026



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


Commits:
de56fd71 by Holger Levsen at 2026-09-21T15:52:10+02:00
jenkins nodes: refactoring

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

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -167,12 +167,6 @@ users=$(for i in ${!user_host_groups[@]}; do echo ${i%,*} ; done | sort -u)
 	fi
 done
 
-sudo mkdir -p /srv/workspace
-sudo chown jenkins:jenkins /srv/workspace
-[ -d /srv/schroots ] || sudo mkdir -p /srv/schroots
-[ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots
-[ -h /schroots ] || sudo ln -s /srv/schroots /schroots
-
 # prepare tmpfs on some hosts
 case $HOSTNAME in
 	jenkins)
@@ -206,13 +200,17 @@ case $HOSTNAME in
 		# dont need /srv/workspace
 		:
 		;;
-	infom07*|infom08*|*ppc64el)
-		# runs rebuilderd and we want /tmp on disk
+	infom07*|infom08*|ionos2*|*ppc64el|codethink01*|codethink02*|codethink05*)
+		# run rebuilderd and we dont want /srv/workspace then
 		:
 		;;
 	jenkins|ionos*amd64|codethink*|infom*)
-		# FIXME: this needs to be checked and smoothed for all ionos nodes... strangly on codethink nodes
-		# this has not become a problem yet
+		sudo mkdir -p /srv/workspace
+		sudo chown jenkins:jenkins /srv/workspace
+		[ -d /srv/schroots ] || sudo mkdir -p /srv/schroots
+		[ -h /chroots ] || sudo ln -s /srv/workspace/chroots /chroots
+		[ -h /schroots ] || sudo ln -s /srv/schroots /schroots
+
 		if ! grep -q '/srv/workspace' /etc/fstab && ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then
 			echo "tmpfs		/srv/workspace	tmpfs	defaults,size=${TMPFSSIZE}g	0	0" | sudo tee -a /etc/fstab >/dev/null  
 		fi



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/de56fd71d9282933d505857f41baab49ea2d5749
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260921/e6475dba/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list