diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-20 21:48:13 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-20 21:48:13 +0200 |
commit | 5820028b032c221b843a700e834d636041fc9358 (patch) | |
tree | 91c546f88c98f51c70fb20e2ee601854c15ae81c | |
parent | 11045ef5ec0a2a56629369aa7fa3c98a329ce640 (diff) | |
download | jenkins.debian.net-5820028b032c221b843a700e834d636041fc9358.tar.xz |
add support for updating a single (extra) system
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | deploy_jdn | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |