Change tox targets to use new build.py

tox -e images-centos-binary
tox -e images-centos-source

Both above now execute parallel image building script.

Change-Id: I6a4174b184fc239c6baa950a9c787fc6ad220774
Paritally-Implements: blueprint gate-source-builds
This commit is contained in:
Jeff Peeler 2015-08-13 18:26:32 -04:00
parent df54c15145
commit 9a78a5b6f1

11
tox.ini
View File

@ -49,23 +49,16 @@ whitelist_externals = find
commands =
find . -type f -name "*.pyc" -delete
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run ^(test_build).*
sudo -g docker testr run test_build.BuildTestCentosBinary
[testenv:images-centos-source]
whitelist_externals = find
bash
sudo
echo
mv
rm
commands =
bash -c "if [ -f .buildconf ]; then mv .buildconf buildconf.bak; fi"
bash -c "echo PREFIX=centos-source- > .buildconf"
find . -type f -name "*.pyc" -delete
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run ^(test_images).*
rm -f .buildconf
bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi"
sudo -g docker testr run test_build.BuildTestCentosSource
[testenv:startenv]
whitelist_externals = bash