[Qa-jenkins-scm] [jenkins.debian.net] 04/04: reproducible debian: simplefy

Holger Levsen holger at moszumanska.debian.org
Fri Mar 25 18:08:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 43901e4621cf29e283d266589848e86d45c03d08
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Mar 25 14:08:05 2016 -0400

    reproducible debian: simplefy
---
 update_jdn.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 3d8502e..0ada570 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -99,14 +99,14 @@ case $HOSTNAME in
 		TMPFSSIZE=32
 		TMPSIZE=8
 		;;
-	profitbricks-build?-(amd64|i386))
+	profitbricks-build*)
 		TMPFSSIZE=200
 		TMPSIZE=15
 		;;
 	*) ;;
 esac
 case $HOSTNAME in
-	jenkins|profitbricks-build?-(i386|amd64))
+	jenkins|profitbricks-build*)
 		if ! 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
@@ -186,7 +186,7 @@ if [ -f /etc/debian_version ] ; then
 			zsh
 			"
 		case $HOSTNAME in
-			jenkins|jenkins-test-vm|profitbricks-build?-(i386|amd64)) DEBS="$DEBS squid3" ;;
+			jenkins|jenkins-test-vm|profitbricks-build*) DEBS="$DEBS squid3" ;;
 			*) ;;
 		esac
 		# needed to run the 2nd reproducible builds nodes in the future...
@@ -398,7 +398,7 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
 	cd /etc/munin/plugins
 	sudo rm -f postfix_* open_inodes interrupts irqstats threads proc_pri vmstat if_err_* exim_* netstat fw_forwarded_local fw_packets forks open_files users nfs* iostat_ios 2>/dev/null
 	case $HOSTNAME in
-			jenkins|profitbricks-build?-(amd64|i386)) [ -L /etc/munin/plugins/squid_cache ] || for i in squid_cache squid_objectsize squid_requests squid_traffic ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done ;;
+			jenkins|profitbricks-build*) [ -L /etc/munin/plugins/squid_cache ] || for i in squid_cache squid_objectsize squid_requests squid_traffic ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done ;;
 			*)	;;
 	esac
 	if [ "$HOSTNAME" = "jenkins" ] && [ ! -L /etc/munin/plugins/apache_accesses ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list