summaryrefslogtreecommitdiffstats
path: root/deploy_jdn
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-20 21:48:13 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-20 21:48:13 +0200
commit5820028b032c221b843a700e834d636041fc9358 (patch)
tree91c546f88c98f51c70fb20e2ee601854c15ae81c /deploy_jdn
parent11045ef5ec0a2a56629369aa7fa3c98a329ce640 (diff)
downloadjenkins.debian.net-5820028b032c221b843a700e834d636041fc9358.tar.xz
add support for updating a single (extra) system
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'deploy_jdn')
-rwxr-xr-xdeploy_jdn3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy_jdn b/deploy_jdn
index df29573f..e81f52c6 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"