Include test-requires in bundle.

Nova (at least) now splits out test-requires but the current venv build job
doesn't support it.

Change-Id: I4425fde3a3768467021ae0acb7d5d9d17eb93415
This commit is contained in:
James E. Blair
2012-02-21 16:10:31 -08:00
parent ff171e3b48
commit 0314156650

View File

@@ -16,7 +16,12 @@ do
mkdir -p jenkins_venvs/$branch
python tools/install_venv.py
virtualenv --relocatable .venv
pip bundle .cache.bundle -r tools/pip-requires
if [ -e tools/test-requires ]
then
pip bundle .cache.bundle -r tools/pip-requires -r tools/test-requires
else
pip bundle .cache.bundle -r tools/pip-requires
fi
tar cvfz jenkins_venvs/$branch/venv.tgz .venv .cache.bundle
rm -fr .venv .cache.bundle
done