Make tox globally available for openstack-tox-validate

Some validation jobs in some repos need to invoke tox to run their
specific validations. Tox is being installed already, but it does not
get installed into somewhere on the path. So even though the validate
job gets run via tox, tox is later not found by other places that are
not aware of the venv specific path.

This sets the ensure_global_symlinks variable used by the ensure_tox
role so that the existing tox installation also puts a symlink where tox
can be called globally.

Change-Id: I29d3d7e5b967e1ebec290e3ef00f1c65d1464f9e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-09-01 12:14:26 -05:00
parent 9fe7f026eb
commit 24d196ec35
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
1 changed files with 1 additions and 0 deletions

View File

@ -378,6 +378,7 @@
Uses tox with the ``validate`` environment.
vars:
tox_envlist: validate
ensure_global_symlinks: true
- job:
name: openstack-tox-pylint