diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 000000000..689717b9b --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,10 @@ +- project: + name: openstack/rpm-packaging + templates: + - merge-check + check: + jobs: + - openstack-tox-linters + gate: + jobs: + - openstack-tox-linters diff --git a/tox.ini b/tox.ini index ebed40604..2fa5d5cba 100644 --- a/tox.ini +++ b/tox.ini @@ -11,11 +11,15 @@ install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.opens deps = -r{toxinidir}/test-requirements.txt passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY -[testenv:lint] +[testenv:linters] commands = {toxinidir}/tools/run_renderspec.sh {toxinidir} {toxinidir}/tools/run_specchecks.sh {toxinidir} {toxinidir}/tools/run_speccleaner.sh {toxinidir} +# compat. remove me +[testenv:lint] +commands = {[testenv:linters]commands} + [testenv:venv] commands = {posargs}