Install zuul to access zuul_console

When we lint our playbooks, we need to also have zuul install our
custom action plugins.

Also default to python3 so we can properly install zuul into tox.

Change-Id: Ib7e39e43005aa73c9d482af6becef3408d097e15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-07-19 12:35:34 -04:00
parent a67e0679b4
commit f40a7fbe1e
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 3 additions and 0 deletions

View File

@ -8,3 +8,4 @@ ansible-lint
bashate>=0.2
sphinx>=1.5.1,<1.6.0 # BSD
oslosphinx>=4.7.0 # Apache-2.0
-e git://git.openstack.org/openstack-infra/zuul@feature/zuulv3#egg=zuul

View File

@ -4,6 +4,7 @@ skipsdist = True
envlist = linters
[testenv]
basepython = python3
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands =
@ -23,6 +24,7 @@ commands = python setup.py build_sphinx
[testenv:linters]
setenv =
ANSIBLE_CONFIG = {toxinidir}/tests/ansible.cfg
ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library
whitelist_externals = bash
commands =
flake8 {posargs}