zuul-jobs/playbooks
Monty Taylor 56f6938968
Override tox requirments with zuul git repos
It's a common desire to be able to have a job that runs unittests
against the git checkout of another repository, but getting the tox
environment into that shape is a bunch of extra work.

Now that we have a defined place where repos go and they're always on
the build node, we can look in the source dir for git repos that contain
python packages and ask setup.py for the name of the python package they
provide.

We can then see what packages tox decided to install for this
environment, see if we have any matching ones in the source code repos
we've put on disk and if so we can re-install those depends from the
source location.

That way we can cause a tox job to use a second repo for cross-repo
unittesting simply by adding that project to required_projects.

Add a flag to disable the behavior ... although the easiest way to
disable the behavior is to just not list other projects in
required_projects.

Change-Id: Ia5250c11b1d73baaa70ea1cef7ea1ba4d5bab821
Story: 2001136
Task: 4852
2017-09-11 12:55:26 -06:00
..
integration-tests Add integration test jobs for the configure-mirror role 2017-09-07 14:38:36 -04:00
multinode Add multinode base job 2017-08-23 18:03:49 -04:00
python Add trigger-readthedocs job 2017-08-28 20:17:44 -05:00
tox Override tox requirments with zuul git repos 2017-09-11 12:55:26 -06:00
unittests Actually use fetch-stestr-output in unittests base job 2017-09-06 16:02:41 -05:00