Merge "linters: Take a guess at the roles path"

This commit is contained in:
Zuul
2018-08-13 16:32:51 +00:00
committed by Gerrit Code Review

15
tox.ini
View File

@@ -12,11 +12,18 @@ basepython = python3
whitelist_externals = bash whitelist_externals = bash
setenv = setenv =
ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library
passenv = # NOTE(pabelanger): if you'd like to run tox -elinters locally,
# NOTE(pabelanger): if you'd like to run tox -elinters locally, you'll need # you'll need to export ANSIBLE_ROLES_PATH pointing to the required
# to export ANSIBLE_ROLES_PATH pointing to the currect repos. # repos.
#
# We take a guess that zuul-jobs and openstack-zuul-jobs will be
# checked out in the directory above us (i.e. alongside
# project-config). You may need to override this. Make sure
# they're up to date too!
#
# see openstack-zuul-jobs-linters job for more information. # see openstack-zuul-jobs-linters job for more information.
ANSIBLE_ROLES_PATH ANSIBLE_ROLES_PATH={env:ANSIBLE_ROLES_PATH:../zuul-jobs/roles:../openstack-zuul-jobs/roles:roles}
# Add dependencies here since other jobs use python2 and zuul requires # Add dependencies here since other jobs use python2 and zuul requires
# python3. # python3.
deps = deps =