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:
parent
a01a13e49b
commit
d661ad4042
@ -10,3 +10,10 @@ libffi-dev [platform:dpkg]
|
|||||||
libffi-devel [platform:rpm]
|
libffi-devel [platform:rpm]
|
||||||
python-dev [platform:dpkg]
|
python-dev [platform:dpkg]
|
||||||
python-devel [platform:rpm]
|
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]
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
flake8
|
flake8
|
||||||
|
zuul
|
||||||
|
|
||||||
# We need to pin the ansible version directly here; per the
|
# We need to pin the ansible version directly here; per the
|
||||||
# deprecation policy it should trail the version used by Zuul by 4
|
# deprecation policy it should trail the version used by Zuul by 4
|
||||||
|
2
tox.ini
2
tox.ini
@ -31,6 +31,8 @@ passenv =
|
|||||||
# to export ANSIBLE_ROLES_PATH pointing to the currect repos.
|
# to export ANSIBLE_ROLES_PATH pointing to the currect repos.
|
||||||
# see openstack-zuul-jobs-linters job for more information.
|
# see openstack-zuul-jobs-linters job for more information.
|
||||||
ANSIBLE_ROLES_PATH
|
ANSIBLE_ROLES_PATH
|
||||||
|
setenv =
|
||||||
|
ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user