Merge "tox: Add find command to allowlist_externals list"

This commit is contained in:
Zuul 2021-06-17 08:43:30 +00:00 committed by Gerrit Code Review
commit de8f9e0ded

View File

@ -1,5 +1,5 @@
[tox] [tox]
minversion = 3.1 minversion = 3.18
skipsdist = True skipsdist = True
envlist = py38,linters envlist = py38,linters
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -7,7 +7,7 @@ ignore_basepython_conflict = True
[testenv] [testenv]
basepython = python3 basepython = python3
usedevelop = True usedevelop = True
whitelist_externals = find allowlist_externals = find
rm rm
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
@ -59,7 +59,7 @@ commands =
sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html
[testenv:pdf-docs] [testenv:pdf-docs]
whitelist_externals = make allowlist_externals = make
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
commands = commands =
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
@ -81,7 +81,8 @@ deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
whitelist_externals = bash allowlist_externals = bash
find
commands = commands =
{[testenv:pep8]commands} {[testenv:pep8]commands}
{[testenv:doc8]commands} {[testenv:doc8]commands}