Fix tox.ini for tox4

Use bash to call shell scripts instead of adding them explicitly to
allowlist_externals. Drop external command that is no longer being used.

Change-Id: I4f90fbcc3a679660c437e99a3aa1f81747b72054
This commit is contained in:
Dr. Jens Harbott 2022-12-08 15:49:47 +01:00
parent 9c1d3ee16d
commit c291f3b827

View File

@ -42,10 +42,11 @@ commands =
deps =
{[testenv]deps}
yamllint
allowlist_externals = bash
commands =
{toxinidir}/tools/run-bashate.sh
bash {toxinidir}/tools/run-bashate.sh
flake8 {posargs}
{toxinidir}/tools/validate-all-dockerfiles.sh
bash {toxinidir}/tools/validate-all-dockerfiles.sh
python {toxinidir}/tools/validate-all-file.py
bandit -r docker kolla tests tools
yamllint -s .
@ -78,7 +79,6 @@ commands =
make -C doc/build/pdf
[testenv:genconfig]
allowlist_externals = which
commands=
oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf