Add zuul to the linters tox env

So that the syntax check which runs on playbooks can find zuul_return.

Add re2 library to bindep, it's needed for zuul.

Change-Id: I93213ee19652c0ec9f4bc699204e9445a1e891c8
This commit is contained in:
James E. Blair 2018-10-01 14:02:45 -05:00 committed by Andreas Jaeger
parent a01a13e49b
commit d661ad4042
3 changed files with 10 additions and 0 deletions

View File

@ -10,3 +10,10 @@ libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
python-dev [platform:dpkg]
python-devel [platform:rpm]
libre2-dev [compile test platform:dpkg]
libre2-4 [platform:ubuntu-bionic]
libre2-3 [platform:debian-stretch]
libre2-1v5 [platform:ubuntu-xenial]
re2-devel [compile test platform:rpm]
re2-dev [platform:apk]
re2 [platform:rpm platform:apk]

View File

@ -2,6 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
flake8
zuul
# We need to pin the ansible version directly here; per the
# deprecation policy it should trail the version used by Zuul by 4

View File

@ -31,6 +31,8 @@ passenv =
# to export ANSIBLE_ROLES_PATH pointing to the currect repos.
# see openstack-zuul-jobs-linters job for more information.
ANSIBLE_ROLES_PATH
setenv =
ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library
whitelist_externals = bash
commands =
flake8 {posargs}