diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-08 11:56:09 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-08 11:56:09 +0100 |
commit | f04cf7e5d9694d17c5d15763f9eeaf3fb8c6511f (patch) | |
tree | 3b3352df025b2cd6ee4431ee589b8bf7687ac89e /start | |
parent | 40a5c446c3062adf4481782ced1be4710efaab56 (diff) | |
download | orchestration-f04cf7e5d9694d17c5d15763f9eeaf3fb8c6511f.tar.gz |
Fix start to teardown properly
Diffstat (limited to 'start')
-rwxr-xr-x | start | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#!/bin/bash +set -e + +teardown () { + echo "Stopping Master" + cd ../orchenv-master + ./bin/buildbot stop master + echo "Stopping Local Slave" + cd ../orchenv-slave + ./bin/buildslave stop slave +} + +trap "teardown" SIGINT SIGTERM +echo "Starting Master" +cd orchenv-master +./bin/buildbot start master +echo "Master started" +echo "Starting Local Slave" +cd ../orchenv-slave +./bin/buildslave start slave +echo "Local Slave started" +echo "Starting Bottlerock" +cd ../bottlerock +./bin/python2.7 ../source/bottlerock.py |