diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-10 13:57:32 +0000 |
---|---|---|
committer | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-10 14:06:13 +0000 |
commit | 749317cd0dfea6d454c0119b28dd102fc274b455 (patch) | |
tree | 29c3b9fac5aea16e2ba2ac5751c10ab015c11f4b /deploy_a_system.sh | |
parent | b8990dbf109dde1e1c47f0e3ac226bab75fd8f98 (diff) | |
download | buildslave-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 'deploy_a_system.sh')
-rwxr-xr-x[-rw-r--r--] | deploy_a_system.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy_a_system.sh b/deploy_a_system.sh index 99ac9b9..ef99ce9 100644..100755 --- a/deploy_a_system.sh +++ b/deploy_a_system.sh @@ -7,6 +7,10 @@ cluster_name="$1" definitions_dir=/home/patrickdarley/definitions ybd_dir=/home/patrickdarley/ybd +# Can only deploy with a single instance of ybd. Crashes +# with >1 +sed -i '/^instances: /c\instances: 1' /home/patrickdarley/ybd/config/ybd.conf + # try changing to the definitions dir then building # ybd seems to set the "target" to be current dir, regardless # Of it being definitions or not |