aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-11-04 04:58:22 +0000
committerSam Yaple <sam@yaple.net>2015-11-05 10:58:29 +0000
commit3d7a0c6f55d5d4db33ff5ecb25466423e5d36b2d (patch)
treef0d050ad4e32337513e0e2f2b242719676f74754 /tox.ini
parent6a9beb4a33a0a44ba7ffbafc80d794604f030d57 (diff)
downloadkolla-3d7a0c6f55d5d4db33ff5ecb25466423e5d36b2d.tar.gz
kolla-3d7a0c6f55d5d4db33ff5ecb25466423e5d36b2d.zip
Restrucutre gate scripts
So we can respect DRY and share as much code as possible I have broken out the common code between the aio and multinode gate scripts. Additionally, this lays the ground work for removing our policy on root-everywhere by using sudo. Once we get the non-root stuff worked out we can gate as non-root user. Change-Id: I781c597ab10f2296b95f51ae27e0fa617ffe0a66 Partially-Implements: blueprint multinode-gate
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 6 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 1b693d247..c3b60663e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -70,7 +70,8 @@ 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
+ bash tests/setup_deploy.sh
+ sudo tests/deploy_aio.sh centos binary
[testenv:deploy-images-centos-source]
whitelist_externals = find
@@ -80,7 +81,8 @@ 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
+ bash tests/setup_deploy.sh
+ sudo tests/deploy_aio.sh centos source
[testenv:deploy-images-ubuntu-source]
whitelist_externals = find
@@ -90,7 +92,8 @@ 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
+ bash tests/setup_deploy.sh
+ sudo tests/deploy_aio.sh ubuntu source
[testenv:functional]
whitelist_externals = find