Update tox.ini to work with tox 4
This change will allow this repo to pass zuul now that this has merged: https://review.opendev.org/c/zuul/zuul-jobs/+/866943 Tox 4 deprecated whitelist_externals. Replace whitelist_externals with allowlist_externals Partial-Bug: #2000399 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: Idd6eab4a194066072ef362be970e5b982665bf43
This commit is contained in:
parent
399b7c5d9e
commit
dcad0bbc57
10
tox.ini
10
tox.ini
|
@ -29,7 +29,7 @@ commands =
|
||||||
git restore doc/source/dist_cloud/kubernetes/*
|
git restore doc/source/dist_cloud/kubernetes/*
|
||||||
# bash hw-updates.sh
|
# bash hw-updates.sh
|
||||||
bash htmlChecks.sh doc/build/html
|
bash htmlChecks.sh doc/build/html
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
htmlChecks.sh
|
htmlChecks.sh
|
||||||
get-remote-files.sh
|
get-remote-files.sh
|
||||||
git
|
git
|
||||||
|
@ -40,10 +40,10 @@ deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
rm -rf api-ref/build
|
rm -rf api-ref/build
|
||||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
whitelist_externals = bash
|
allowlist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
bash -c "find {toxinidir} \
|
bash -c "find {toxinidir} \
|
||||||
\( -name .tox -prune \) \
|
\( -name .tox -prune \) \
|
||||||
|
@ -61,13 +61,13 @@ passenv=PWD
|
||||||
commands =
|
commands =
|
||||||
bash -c "echo Running in {env:PWD}"
|
bash -c "echo Running in {env:PWD}"
|
||||||
bash new-topic.sh {env:PWD} {toxinidir}
|
bash new-topic.sh {env:PWD} {toxinidir}
|
||||||
whitelist_externals = new-topic.sh
|
allowlist_externals = new-topic.sh
|
||||||
bash
|
bash
|
||||||
|
|
||||||
[testenv:picks]
|
[testenv:picks]
|
||||||
commands =
|
commands =
|
||||||
./pickCompare.sh
|
./pickCompare.sh
|
||||||
whitelist_externals = pickCompare.sh
|
allowlist_externals = pickCompare.sh
|
||||||
bash
|
bash
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue