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
This commit is contained in:
Dirk Mueller 2017-09-10 16:10:17 -06:00
parent b2b0d1a3c6
commit 8a6a32e1f1
2 changed files with 15 additions and 1 deletions

10
.zuul.yaml Normal file
View File

@ -0,0 +1,10 @@
- project:
name: openstack/rpm-packaging
templates:
- merge-check
check:
jobs:
- openstack-tox-linters
gate:
jobs:
- openstack-tox-linters

View File

@ -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}