diff --git a/tox.ini b/tox.ini index 36261f5..3fe0997 100644 --- a/tox.ini +++ b/tox.ini @@ -17,14 +17,14 @@ deps = bindep commands = bindep test [testenv:docs] -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'if [ -d doc ]; then \ python setup.py build_sphinx; \ fi' [testenv:linters] -whitelist_externals = bash +allowlist_externals = bash passenv = # NOTE(pabelanger): if you'd like to run tox -elinters locally, you'll need # to export ANSIBLE_ROLES_PATH pointing to the currect repos. @@ -96,7 +96,7 @@ install_command = pip install -U \ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ {opts} {packages} deps = -r{toxinidir}/test-requirements.txt -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'if [ -d {toxinidir}/../zuul-jobs ]; then jobsdir={toxinidir}/../zuul-jobs; \ else jobsdir={toxinidir}/../stx-zuul-jobs; \