aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-10-13 07:01:07 +0000
committerSam Yaple <sam@yaple.net>2015-10-20 19:15:33 +0000
commitf39bb2ee13a10d17d5ef1410489c9804fc1c014a (patch)
tree3a4e93dde582d9eb840da53b2900f5f63d1fb728 /tox.ini
parent7b73bc95ac7e4e14f9fccad060d2e373826d9397 (diff)
downloadkolla-f39bb2ee13a10d17d5ef1410489c9804fc1c014a.tar.gz
kolla-f39bb2ee13a10d17d5ef1410489c9804fc1c014a.zip
In gate functional testing
This runs the ansible playbooks to completion. It does not validate that OpenStack is working yet, but it will ensure Ansible did not break. Additional gates will be needed for this and there is a patch in project-config to handle that. Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693 backport: liberty Partially-Implements: blueprint functional-testing-gate
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini62
1 files changed, 62 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 59dd39670..7ed567b67 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,6 +35,9 @@ commands =
whitelist_externals = bash
commands = bash -c tests/setup_gate.sh
+# These tests are duplicated because of the namechange of the jobs upstream
+# to allow continued use of the job-template. This way the gate never breaks
+# TODO(SamYaple): Remove once new gates are in place
[testenv:images-centos-binary]
whitelist_externals = find
bash
@@ -44,6 +47,7 @@ commands =
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run test_build.BuildTestCentosBinary
+# TODO(SamYaple): Remove once new gates are in place
[testenv:images-centos-source]
whitelist_externals = find
bash
@@ -53,6 +57,7 @@ commands =
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run test_build.BuildTestCentosSource
+# TODO(SamYaple): Remove once new gates are in place
[testenv:images-ubuntu-source]
whitelist_externals = find
bash
@@ -62,6 +67,63 @@ commands =
bash -c "if [ ! -d .testrepository ]; then testr init; fi"
sudo -g docker testr run test_build.BuildTestUbuntuSource
+[testenv:build-images-centos-binary]
+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.BuildTestCentosBinary
+
+[testenv:build-images-centos-source]
+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.BuildTestCentosSource
+
+[testenv:build-images-ubuntu-source]
+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.BuildTestUbuntuSource
+
+[testenv:deploy-images-centos-binary]
+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.DeployTestCentosBinary
+ sudo tests/deploy_kolla.sh centos binary
+
+[testenv:deploy-images-centos-source]
+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.DeployTestCentosSource
+ sudo tests/deploy_kolla.sh centos source
+
+[testenv:deploy-images-ubuntu-source]
+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.DeployTestUbuntuSource
+ sudo tests/deploy_kolla.sh ubuntu source
+
[testenv:functional]
whitelist_externals = find
bash