[Qa-jenkins-scm] [jenkins.debian.net] 02/04: add support for deploying only on certain archs

Holger Levsen holger at layer-acht.org
Mon Dec 19 01:22:31 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 432ee85e56fe9cb92f01c80eb889c0952e3baee7
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Dec 19 02:19:21 2016 +0100

    add support for deploying only on certain archs
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 deploy_everywhere | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/deploy_everywhere b/deploy_everywhere
index 1bbd6a0..f25c328 100755
--- a/deploy_everywhere
+++ b/deploy_everywhere
@@ -65,6 +65,8 @@ wbd0-armhf-rb.debian.net
 wbq0-armhf-rb.debian.net
 root at jenkins.debian.net"
 
+ALL_HOSTS=$HOSTS
+
 echo
 echo -n "$(date) - "
 # real command, for running manually: cd ~jenkins-adm/jenkins.debian.net/ ; sudo -u jenkins-adm git pull ; ./update_jdn.sh
@@ -123,6 +125,7 @@ elif [ "$1" = "" ] || [ "$1" = "jenkins" ] ; then
 			10|pb10) HOSTS="$HOSTS profitbricks-build10-amd64.debian.net" ;;
 			11|pb11) HOSTS="$HOSTS profitbricks-build11-amd64.debian.net" ;;
 			15|pb15) HOSTS="$HOSTS profitbricks-build15-amd64.debian.net" ;;
+			armhf|amd64|i386)	 HOSTS="$HOSTS $(echo $ALL_HOSTS | sed 's# #\n#g' | grep $i)" ;;
 			*) ;;
 		esac
 	done

-- 
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