summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-10 16:32:49 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-10 16:32:49 +0100
commit7abb4d83e640ef6dc5c0e8951c7c80d4411fb225 (patch)
tree7cb2f9bd903a8cd19a53cb124531a1d5b8e7e139
parent95426b5a8deab9c89323a60381e31fafcbe6425d (diff)
downloadbuildslave-scripts-7abb4d83e640ef6dc5c0e8951c7c80d4411fb225.tar.gz
set -e all the things
-rwxr-xr-xbuild_a_system.sh2
-rwxr-xr-xdeploy_a_system.sh2
-rw-r--r--get_definitions.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/build_a_system.sh b/build_a_system.sh
index 99ab4e2..cf673f3 100755
--- a/build_a_system.sh
+++ b/build_a_system.sh
@@ -2,6 +2,8 @@
# Script to build a defined set of definitions
+set -e
+
system_name="$1"
definitions_dir=definitions
diff --git a/deploy_a_system.sh b/deploy_a_system.sh
index fd52a52..5cd2728 100755
--- a/deploy_a_system.sh
+++ b/deploy_a_system.sh
@@ -2,6 +2,8 @@
# Script to deploy a cluster
+set -e
+
cluster_name="$1"
definitions_dir=definitions
diff --git a/get_definitions.sh b/get_definitions.sh
index 0e1b911..de08d79 100644
--- a/get_definitions.sh
+++ b/get_definitions.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+set -e
git clone sh://git@cu010-trove.codethink.com/baserock/baserock/definitions.git
cd definitions
git fetch