Install Zuul onto workers

So that we can use zuul-cloner, install Zuul into a venv.  We can
invoke it with /usr/zuul-env/bin/zuul-cloner.

Change-Id: Id97b967cea2d3e476334f51525a036c7c7e43762
This commit is contained in:
James E. Blair 2014-08-26 08:51:36 -07:00
parent 3eee4bfd80
commit 17cde1fd06

View File

@ -143,5 +143,13 @@ fi
# here.
sudo rm -f /etc/cron.{monthly,weekly,daily,hourly,d}/*
# Install Zuul into a virtualenv
# This is in /usr instead of /usr/local due to this bug on precise:
# https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/839588
git clone /opt/git/openstack-infra/zuul /tmp/zuul
sudo virtualenv /usr/zuul-env
sudo /usr/zuul-env/bin/pip install /tmp/zuul
sudo rm -fr /tmp/zuul
sync
sleep 5