blob: 05dddfc1d6144f5ca0f9274afa3ad79cd755f372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
set -e
echo "Orchestration setup starting"
# create master
echo "Buildbot Master: Creating virtual environment"
virtualenv --no-site-packages orchenv-master
cd orchenv-master
echo "Buildbot Master: Installing dependencies"
./bin/pip install buildbot
./bin/buildbot create-master -r master
cp ../source/master.cfg master/master.cfg
# create slave
cd ..
echo "Buildbot Local Slave: Creating virtual environment"
virtualenv --no-site-packages orchenv-slave
cd orchenv-slave
echo "Buildbot Local Slave: Installing dependencies"
./bin/pip install buildbot-slave
./bin/buildslave create-slave -r slave localhost:9989 example-slave pass
# setup bottlerock
cd ..
echo "Bottlerock: Creating virtual environment"
virtualenv --no-site-packages bottlerock
cd bottlerock
echo "Bottlerock: Installing dependencies"
./bin/pip install buildbot bottle
echo "Setup Complete"
|