summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-07 14:33:03 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-07 14:33:03 +0100
commit530725d8a1b35f39dc7839f47146ebae70e55ab3 (patch)
tree8103b5145cd22ae01363c63d8fb3653bf6401d2e /setup.sh
parentf7302ae290718e4d1f586bb7b4b35516b7b01812 (diff)
downloadorchestration-530725d8a1b35f39dc7839f47146ebae70e55ab3.tar.gz
Add slave creation and running to shell scripts
Diffstat (limited to 'setup.sh')
-rw-r--r--setup.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/setup.sh b/setup.sh
index 43ec523..c68e1d5 100644
--- a/setup.sh
+++ b/setup.sh
@@ -1,7 +1,14 @@
#!/bin/sh
set -e
-virtualenv --no-site-packages orchenv
-cd orchenv
+# create master
+virtualenv --no-site-packages orchenv-master
+cd orchenv-master
./bin/pip install buildbot
-./bin/buildbot create-master master
+./bin/buildbot create-master -r master
cp ../source/master.cfg master/master.cfg
+# create slave
+cd ..
+virtualenv --no-site-packages orchenv-slave
+cd orchenv-slave
+./bin/pip install buildbot-slave
+./bin/buildslave create-slave -r slave localhost:9989 example-slave pass