Skip to content
Snippets Groups Projects
Commit 9a78a5b6 authored by Jeff Peeler's avatar Jeff Peeler
Browse files

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
parent df54c151
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment