summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2017-11-26 14:50:55 -0600
committerMonty Taylor <mordred@inaugust.com>2017-11-26 14:50:55 -0600
commit5176951d592582881be829ffe1bc0ebb49837fdf (patch)
treedadcf438b4b0eb913c45ec8782b0fcb32f904c95
parentc47b1ff06341cd56b1b94e8954a4c4b90a039cb4 (diff)
downloadpython-openstackclient-5176951d592582881be829ffe1bc0ebb49837fdf.tar.gz
Make osc-tox-unit-tips work on other repos
We want to run osc-tox-unit-tips on changes to os-client-config and python-openstacksdk - but the tox role defaults to using zuul.project.src_dir as the working directory. We want it to always be the openstackclient source dir. Change-Id: Ic7a49b79fb9141d9d0b8da40e10c85b107564edc
-rw-r--r--.zuul.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 9b22ace0..6060f7d9 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -17,6 +17,9 @@
- openstack/python-openstacksdk
vars:
tox_envlist: unit-tips
+ # Set work dir to openstackclient so that if it's triggered by one of the
+ # other repos the tests will run in the same place
+ zuul_work_dir: src/git.openstack.org/openstack/python-openstackclient
- job:
name: osc-functional-devstack-base