aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-03-15 22:39:30 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-04-02 16:02:58 +0000
commit7ab705cd4d6283302e9bf157e5f28dda1ad304e3 (patch)
tree1cdb1d7a1ea66b4334868379a6bef5df459806ba /tox.ini
parent126c766ca0c311fec749ad28edcb4104835bdf5c (diff)
downloadkolla-7ab705cd4d6283302e9bf157e5f28dda1ad304e3.tar.gz
kolla-7ab705cd4d6283302e9bf157e5f28dda1ad304e3.zip
Add Ubuntu binary build and deploy gate
The Ubuntu Mitaka repo is release, and we have add it. So it is time to add the Ubuntu binary gate. Closes-Bug: #1560386 Change-Id: I29d01147595c4ebebfa00798d01d5fd7398123a6
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 23 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index eaddde96a..d3cda4bc2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -61,6 +61,17 @@ commands =
testr run test_build.BuildTestCentosSource
{toxinidir}/tools/dump_info.sh
+[testenv:build-ubuntu-binary]
+whitelist_externals = find
+ bash
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ testr run test_build.BuildTestUbuntuBinary
+ {toxinidir}/tools/dump_info.sh
+
[testenv:build-ubuntu-source]
whitelist_externals = find
bash
@@ -146,6 +157,18 @@ commands =
sudo {toxinidir}/tools/deploy_aio.sh oraclelinux source
{toxinidir}/tools/dump_info.sh
+[testenv:deploy-ubuntu-binary]
+whitelist_externals = find
+ bash
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ testr run test_build.DeployTestUbuntuBinary
+ sudo {toxinidir}/tools/deploy_aio.sh ubuntu binary
+ {toxinidir}/tools/dump_info.sh
+
[testenv:deploy-ubuntu-source]
whitelist_externals = find
bash