summaryrefslogtreecommitdiff
path: root/build_a_system.sh
diff options
context:
space:
mode:
authorPatrick Darley <patrick.darley@codethink.co.uk>2015-09-10 13:57:32 +0000
committerPatrick Darley <patrick.darley@codethink.co.uk>2015-09-10 14:06:13 +0000
commit749317cd0dfea6d454c0119b28dd102fc274b455 (patch)
tree29c3b9fac5aea16e2ba2ac5751c10ab015c11f4b /build_a_system.sh
parentb8990dbf109dde1e1c47f0e3ac226bab75fd8f98 (diff)
downloadbuildslave-scripts-749317cd0dfea6d454c0119b28dd102fc274b455.tar.gz
Change ybd instance count for building and deploying
ybd will fail if deployments are made with more than one instance seemingly. Builds are prophesised to run optimally with 5 instances. Also, some unnecessary things removed from build_a_system.sh
Diffstat (limited to 'build_a_system.sh')
-rwxr-xr-xbuild_a_system.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build_a_system.sh b/build_a_system.sh
index 5fca8cb..254c583 100755
--- a/build_a_system.sh
+++ b/build_a_system.sh
@@ -7,14 +7,14 @@ system_name="$1"
definitions_dir=/home/patrickdarley/definitions
ybd_dir=/home/patrickdarley/ybd
-echo "$system_name"
-echo "$definitions_dir"/systems/"$system_name"
-echo "$ybd_dir"/ybd.py
+# Building is optimal with 5 "instances" on the monster machine
+sed -i '/^instances: /c\instances: 5' /home/patrickdarley/ybd/config/ybd.conf
-# A will this build things
+# will this build things - No.
# "$ybd_dir"/ybd.py "$definitions_dir"/systems/"$system_name"
-#try changing to the definitions dir
+# try changing to the definitions dir then building
+# ybd seems to set the "target" to be current dir, regardless
cd "$definitions_dir"