From 8a6a32e1f133b4be41e5aa9bba0b60fc73919a80 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 10 Sep 2017 16:10:17 -0600 Subject: [PATCH] Add zuul.yaml for zuulv3 This converts the tox-lint job to zuulv3. There is a standard openstack-tox-linters that we can rely on. Change-Id: I31eb188d9bde1fa0db5a46b3fa8b412f729d939e --- .zuul.yaml | 10 ++++++++++ tox.ini | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .zuul.yaml 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}