Merge "Move integration test dependencies into bindep"

This commit is contained in:
Jenkins 2015-07-29 04:07:22 +00:00 committed by Gerrit Code Review
commit 96c547c1ed
2 changed files with 26 additions and 9 deletions

23
other-requirements.txt Normal file
View File

@ -0,0 +1,23 @@
# These are needed to build all the things in global-requirements, which we do
# for integration testing (see tools/integration.sh.
python-all-dev
python3-all-dev
libvirt-dev
libxml2-dev
libxslt-dev
libmysqlclient-dev
libpq-dev
libnspr4-dev
pkg-config
libsqlite3-dev
libzmq-dev
libffi-dev
libldap2-dev
libsasl2-dev
ccache
# NOTE(flaper87): Temporarly needed for proton
uuid-dev
swig
# Python things that change rarely and we're willing to risk breakage vs latest
python-numpy [python]
python-yaml [python]

View File

@ -25,15 +25,9 @@ BASE=${BASE:-/opt/stack}
REPODIR=${REPODIR:-$BASE/new}
# TODO: Figure out how to get this on to the box properly
sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libzmq-dev libffi-dev libldap2-dev libsasl2-dev ccache
# NOTE(flaper87): Temporarly needed for proton
sudo apt-get install -y --force-yes uuid-dev swig
# FOR numpy / pyyaml
sudo apt-get build-dep -y --force-yes python-numpy
sudo apt-get build-dep -y --force-yes python-yaml
root=$(dirname $0)/..
sudo -H pip install bindep
sudo apt-get install -y --force-yes $(bindep -b python -f $root/other-requirements.txt)
# And use ccache explitly
export PATH=/usr/lib/ccache:$PATH