Sha256: ff1e56ab9cf86b8621c9329a3bb050a7c57f4329887e71127dd46ec91cab7181

Contents?: true

Size: 1.12 KB

Versions: 45

Compression:

Stored size: 1.12 KB

Contents

#!/bin/sh
#
# This shell script deploys the buildmaster by downloading an
# up-to-date tar.gz from GitHub and setting up the proper environment.

#----------------------------------------------------------------------
# Update the source
#----------------------------------------------------------------------
# Download the Vagrant source, extract it
cd /tmp
rm -rf vagrant
rm -rf mitchellh-vagrant-*
wget https://github.com/mitchellh/vagrant/tarball/master -O vagrant.tar.gz
tar xvzf vagrant.tar.gz
mv mitchellh-vagrant-* vagrant

# Move the code into place
cp -R vagrant/test/buildbot/* /srv/buildmaster/

# Setup the virtualenv
cd /srv/buildmaster
virtualenv --no-site-packages env

# Activate the environment
. env/bin/activate

# Install dependencies
pip install -r requirements.txt

#----------------------------------------------------------------------
# Update the buildmaster
#----------------------------------------------------------------------
# Setup environmental variables that are required
export BUILDBOT_CONFIG=/etc/buildmaster/master.cfg
export PYTHONPATH=/srv/buildmaster

# Restart the buildmaster
buildbot restart master/

Version data entries

45 entries across 45 versions & 6 rubygems

Version Path
bmhatfield-vagrant-1.0.10 test/buildbot/scripts/deploy.sh
bmhatfield-vagrant-1.0.9 test/buildbot/scripts/deploy.sh
bmhatfield-vagrant-1.0.8 test/buildbot/scripts/deploy.sh
bmhatfield-vagrant-1.0.7 test/buildbot/scripts/deploy.sh
vagrantup-1.0.7 test/buildbot/scripts/deploy.sh
vagrantup-1.0.6 test/buildbot/scripts/deploy.sh
vagrantup-1.0.5 test/buildbot/scripts/deploy.sh
vagrantup-1.0.4 test/buildbot/scripts/deploy.sh
vagrantup-1.0.3 test/buildbot/scripts/deploy.sh
vagrantup-1.0.2 test/buildbot/scripts/deploy.sh
vagrantup-1.0.1 test/buildbot/scripts/deploy.sh
vagrantup-1.0.0 test/buildbot/scripts/deploy.sh
vagrantup-0.9.99.2 test/buildbot/scripts/deploy.sh
vagrantup-0.9.99.1 test/buildbot/scripts/deploy.sh
vagrantup-0.9.7 test/buildbot/scripts/deploy.sh
vagrantup-0.9.6 test/buildbot/scripts/deploy.sh
vagrantup-0.9.5 test/buildbot/scripts/deploy.sh
vagrantup-0.9.4 test/buildbot/scripts/deploy.sh
vagrantup-0.9.3 test/buildbot/scripts/deploy.sh
vagrantup-0.9.2 test/buildbot/scripts/deploy.sh