aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@redhat.com>2015-08-13 18:26:32 -0400
committerJeff Peeler <jpeeler@redhat.com>2015-08-14 17:32:14 +0000
commit9a78a5b6f1dc0d1189a7613a60472cb8608c7981 (patch)
treeb7e49be150a4e6b7a22ae42488ba289aa413c7b2 /tox.ini
parentdf54c15145da51ee73b8024116a1fdc1abb8b874 (diff)
downloadkolla-9a78a5b6f1dc0d1189a7613a60472cb8608c7981.tar.gz
kolla-9a78a5b6f1dc0d1189a7613a60472cb8608c7981.zip
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 2 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index e8610ae55..eea486626 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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