diff --git a/doc/source/conf.py b/doc/source/conf.py index 23f732e17..201d3877b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,7 +36,8 @@ def build_plugin_registry(app): subprocess.call(['tools/generate-tempest-plugins-list.sh'], cwd=root_dir) def setup(app): - app.connect('builder-inited', build_plugin_registry) + if os.getenv('GENERATE_TEMPEST_PLUGIN_LIST', 'true').lower() == 'true': + app.connect('builder-inited', build_plugin_registry) diff --git a/tox.ini b/tox.ini index 2120818f8..6f37d00e5 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ setenv = PYTHONWARNINGS=default::DeprecationWarning BRANCH_NAME=master CLIENT_NAME=tempest -passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH OS_TEST_PATH TEMPEST_CONFIG TEMPEST_CONFIG_DIR http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION +passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH OS_TEST_PATH TEMPEST_CONFIG TEMPEST_CONFIG_DIR http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION GENERATE_TEMPEST_PLUGIN_LIST usedevelop = True install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}