diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2 index bbc77d5b8b..7574dbd87e 100644 --- a/tests/templates/template_overrides.j2 +++ b/tests/templates/template_overrides.j2 @@ -41,6 +41,7 @@ RUN sed -i -e "/^mirrorlist/d" \ -e "/^metalink/d" \ -e "s|^#baseurl=http://download.fedoraproject.org/pub|baseurl=http://{{ nodepool_mirror_host }}|g" \ -e "s|^baseurl=http://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|g" \ + -e "s|^#baseurl=http://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|g" \ -e "s|^baseurl=https://packages.elastic.co|baseurl={{ nodepool_elastic_proxy }}|g" \ -e "s|^baseurl=https://packagecloud.io/grafana|baseurl={{ nodepool_grafana_proxy }}|g" \ -e "s|^baseurl=https://trunk.rdoproject.org|baseurl=http://{{ nodepool_rdo_proxy }}|g" \ diff --git a/tox.ini b/tox.ini index b884dea36b..b063caf875 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_TEST_TIMEOUT PYTHON OS_TEST_PATH LISTOPT IDOPTION commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete find . -type d -name "__pycache__" -delete python setup.py test --slowest --testr-args='{posargs}' @@ -80,7 +80,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestCentosBinary {toxinidir}/tools/dump_info.sh @@ -91,7 +91,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestCentosSource {toxinidir}/tools/dump_info.sh @@ -102,7 +102,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestUbuntuBinary {toxinidir}/tools/dump_info.sh @@ -113,7 +113,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestUbuntuSource {toxinidir}/tools/dump_info.sh @@ -124,7 +124,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestDebianBinary {toxinidir}/tools/dump_info.sh @@ -135,7 +135,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestDebianSource {toxinidir}/tools/dump_info.sh @@ -146,7 +146,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestOracleLinuxBinary {toxinidir}/tools/dump_info.sh @@ -157,7 +157,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestOracleLinuxSource {toxinidir}/tools/dump_info.sh @@ -168,7 +168,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestCentosBinary {toxinidir}/tools/deploy_aio.sh centos binary @@ -180,7 +180,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestCentosSource {toxinidir}/tools/deploy_aio.sh centos source @@ -192,7 +192,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestOracleLinuxBinary {toxinidir}/tools/deploy_aio.sh oraclelinux binary @@ -204,7 +204,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestOracleLinuxSource {toxinidir}/tools/deploy_aio.sh oraclelinux source @@ -216,7 +216,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestUbuntuBinary {toxinidir}/tools/deploy_aio.sh ubuntu binary @@ -228,7 +228,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.DeployTestUbuntuSource {toxinidir}/tools/deploy_aio.sh ubuntu source @@ -240,7 +240,7 @@ whitelist_externals = find setenv = DOCKER_BUILD_TEST=1 commands = - find . -type f -name "*.py[c|o]" -delete + find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" testr run test_build.BuildTestUbuntuSource {toxinidir}/tools/dump_info.sh