[Qa-jenkins-scm] [jenkins.debian.net] 02/02: add support for updating a single (extra) system

Holger Levsen holger at layer-acht.org
Thu Apr 20 19:48:21 UTC 2017


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 5820028b032c221b843a700e834d636041fc9358
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Apr 20 21:48:13 2017 +0200

    add support for updating a single (extra) system
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 deploy_jdn | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/deploy_jdn b/deploy_jdn
index df29573..e81f52c 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -15,6 +15,7 @@
 
 # useful things:
 # ./deploy_jdn all		- deploy on all nodes (and handle 398 days hosts properly)
+# ./deploy_jdn $host		- deploy on $host and jenkins (and handle 398 days hosts properly)
 # ./deploy_jdn all $foo		- run "$foo" on all nodes (and handle 398 days hosts properly)
 # ./deploy_jdn 			- deploy on jenkins only
 # ./deploy_jdn jenkins		- deploy on jenkins only
@@ -148,7 +149,7 @@ elif [ "$1" = "jenkins" ] ; then
 			c15)     HOSTS="$HOSTS codethink-sled15-arm64.debian.net" ;;
 			c16)     HOSTS="$HOSTS codethink-sled16-arm64.debian.net" ;;
 			armhf|amd64|i386|arm64)	 HOSTS="$HOSTS $(echo $ALL_HOSTS | sed 's# #\n#g' | grep $i)" ;;
-			*) ;;
+			*) 	if ping -c 1 $i ; then HOSTS="$HOSTS $i" ; fi ;;
 		esac
 	done
 	echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now"

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