From 80f0890c81d3e24b47037a479ee48d7625faea7a Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Tue, 1 Mar 2016 15:33:46 +0000 Subject: Add new gates for oraclelinux Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a Implements: bp oraclelinux-gate --- tox.ini | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'tox.ini') 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 -- cgit v1.2.3