aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-08-16 13:01:08 -0700
committerSteven Dake <stdake@cisco.com>2015-08-18 00:22:02 -0700
commit79d9951634285faeebb08d232502a1c47a5ef1dc (patch)
treeec5f30db4e8a40a06fe663be35f186543a1cdaa7 /tox.ini
parent20deecda98f457fdff7ae5bb41fcdd3f0ff5362f (diff)
downloadkolla-79d9951634285faeebb08d232502a1c47a5ef1dc.tar.gz
kolla-79d9951634285faeebb08d232502a1c47a5ef1dc.zip
Prepare for gating by distro, type, docker type
We will gate on all combos of: /docker /docker_templates Centos Ubuntu Binary Source Except for Ubuntu + Binary because there is no delorean style repository for Ubuntu. Change-Id: Ic1ed8c22c2f86ff339299939da9ac492a7c7c5f5 Partially-Impelements: blueprint gate-source-builds
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini60
1 files changed, 58 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index eea486626..26d5fa0cf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -42,6 +42,7 @@ commands =
sudo -g docker testr run ^(test_images).*
bash -c "if [ -f buildconf.bak ]; then mv buildconf.bak .buildconf; fi"
+# deprecated
[testenv:images-centos-binary]
whitelist_externals = find
bash
@@ -49,8 +50,9 @@ 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.BuildTestCentosBinary
+ sudo -g docker testr run test_build.BuildTestCentosBinaryDocker
+# deprecated
[testenv:images-centos-source]
whitelist_externals = find
bash
@@ -58,7 +60,61 @@ 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.BuildTestCentosSource
+ sudo -g docker testr run test_build.BuildTestCentosSourceDocker
+
+[testenv:images-centos-binary-docker]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestCentosBinaryDocker
+
+[testenv:images-centos-source-docker]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestCentosSourceDocker
+
+[testenv:images-ubuntu-source-docker]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestUbuntuSourceDocker
+
+[testenv:images-centos-binary-template]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestCentosBinaryTemplate
+
+[testenv:images-centos-source-template]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestCentosSourceTemplate
+
+[testenv:images-ubuntu-source-template]
+whitelist_externals = find
+ bash
+ sudo
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -g docker testr run test_build.BuildTestUbuntuSourceTemplate
[testenv:startenv]
whitelist_externals = bash