From db278b6103a8f0510e5f5ecc40e6c6a0e888edee Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Fri, 7 Aug 2020 11:36:21 +0200 Subject: [PATCH] Add ensure-tox support. Use ensure_global_symlinks from ensure-tox to fix the CI fail. We need to do that, because when we install the new sub environment in the new project the tox is not visible. With the ensure_global_symlinks we do a symlink into /usr/local/bin path. Co-authored-by: Bernard Cafarelli Change-Id: I575e42fe15f16d0bd51597a540a13c4e384ec096 --- .zuul.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index ce750dd..267bbee 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -16,3 +16,7 @@ Uses tox with the ``cookiecutter`` environment. vars: tox_envlist: cookiecutter + # Use the ensure-tox role. Install a symlink to the tox executable into + # the /usr/local/bin path. It's useful when scripts need to be run that + # expect to find standard location. + ensure_global_symlinks: True