From 52c8d40b534d9690cec64153bb4e73e7ebc5906b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Wed, 4 Jan 2023 13:38:05 +0100 Subject: [PATCH] Switch to tox 4.0 compatible listing Change-Id: If711306c9ace25fabb42dcbb002ee9c1a36adaf8 --- .zuul.yaml | 2 ++ tox.ini | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index dfcb7f1fe..d591c3a63 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,6 +2,8 @@ check: jobs: - openstack-tox-linters + - openstack-tox-validate gate: jobs: - openstack-tox-linters + - openstack-tox-validate diff --git a/tox.ini b/tox.ini index 875113db4..21762128d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 2.1 +minversion = 4.0 envlist = rpm-packaging-lint skipsdist = True @@ -10,13 +10,17 @@ setenv = LC_ALL=en_US.utf-8 install_command = pip install -U -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} deps = -r{toxinidir}/test-requirements.txt -passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY +passenv = http_proxy,https_proxy,no_proxy [testenv:linters] commands = {toxinidir}/tools/run_renderspec.sh {toxinidir} {posargs} {toxinidir}/tools/run_specchecks.sh {toxinidir} {posargs} {toxinidir}/tools/run_speccleaner.sh {toxinidir} {posargs} +allowlist_externals = + {toxinidir}/tools/run_renderspec.sh + {toxinidir}/tools/run_specchecks.sh + {toxinidir}/tools/run_speccleaner.sh # compat. remove me [testenv:lint]