From 9a78a5b6f1dc0d1189a7613a60472cb8608c7981 Mon Sep 17 00:00:00 2001 From: Jeff Peeler <jpeeler@redhat.com> Date: Thu, 13 Aug 2015 18:26:32 -0400 Subject: [PATCH] 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 --- tox.ini | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tox.ini b/tox.ini index e8610ae551..eea4866269 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