From c291f3b8270efb2e67218acfba5702b7f2ad24f3 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Thu, 8 Dec 2022 15:49:47 +0100 Subject: [PATCH] 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 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 97fb5825a7..a4524f7c77 100644 --- a/tox.ini +++ b/tox.ini @@ -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