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: I879b2d49fca6437dbe33802c85d20394d6bdc60e
This commit is contained in:
parent
3cad93752e
commit
6d68a2e26d
4
tox.ini
4
tox.ini
@ -16,7 +16,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
|
||||
[testenv:linters]
|
||||
basepython = python3
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
commands =
|
||||
{[testenv:ansible-lint]commands}
|
||||
bash -c "find {toxinidir} \
|
||||
@ -34,7 +34,7 @@ commands =
|
||||
|
||||
[testenv:ansible-lint]
|
||||
basepython = python3
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
# ansible-lint error checks are suppressed/skipped through the .ansible-lint file
|
||||
commands =
|
||||
bash -c "ls playbookconfig/src/playbooks/*.yml | xargs --no-run-if-empty ansible-lint"
|
||||
|
Loading…
Reference in New Issue
Block a user