aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-03-01 15:33:46 +0000
committerPaul Bourke <paul.bourke@oracle.com>2016-03-01 15:34:34 +0000
commit80f0890c81d3e24b47037a479ee48d7625faea7a (patch)
tree63f8c63d5a3a37ef429eb8275263b68ab77f8436 /tox.ini
parent76c28f96984d864cb05191d24f9d74c165b6d16f (diff)
downloadkolla-80f0890c81d3e24b47037a479ee48d7625faea7a.tar.gz
kolla-80f0890c81d3e24b47037a479ee48d7625faea7a.zip
Add new gates for oraclelinux
Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a Implements: bp oraclelinux-gate
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini50
1 files changed, 50 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 828cf2961..5019a3182 100644
--- a/tox.ini
+++ b/tox.ini
@@ -71,6 +71,30 @@ commands =
sudo -E -g docker testr run test_build.BuildTestUbuntuSource
{toxinidir}/tools/dump_info.sh
+[testenv:build-oraclelinux-binary]
+whitelist_externals = find
+ bash
+ sudo
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -E -g docker testr run test_build.BuildTestOracleLinuxBinary
+ {toxinidir}/tools/dump_info.sh
+
+[testenv:build-oraclelinux-source]
+whitelist_externals = find
+ bash
+ sudo
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -E -g docker testr run test_build.BuildTestOracleLinuxSource
+ {toxinidir}/tools/dump_info.sh
+
[testenv:deploy-centos-binary]
whitelist_externals = find
bash
@@ -97,6 +121,32 @@ commands =
sudo {toxinidir}/tools/deploy_aio.sh centos source
{toxinidir}/tools/dump_info.sh
+[testenv:deploy-oraclelinux-binary]
+whitelist_externals = find
+ bash
+ sudo
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -E -g docker testr run test_build.DeployTestOracleLinuxBinary
+ sudo {toxinidir}/tools/deploy_aio.sh oraclelinux binary
+ {toxinidir}/tools/dump_info.sh
+
+[testenv:deploy-oraclelinux-source]
+whitelist_externals = find
+ bash
+ sudo
+setenv =
+ DOCKER_BUILD_TEST=1
+commands =
+ find . -type f -name "*.pyc" -delete
+ bash -c "if [ ! -d .testrepository ]; then testr init; fi"
+ sudo -E -g docker testr run test_build.DeployTestOracleLinuxSource
+ sudo {toxinidir}/tools/deploy_aio.sh oraclelinux source
+ {toxinidir}/tools/dump_info.sh
+
[testenv:deploy-ubuntu-source]
whitelist_externals = find
bash