Only run tox-siblings on required projects

For additional safety and least-surprise, only run the tox-siblings
role on projects which appear in the job's required-projects.

Change-Id: Ic2c83ea89e3fed0084736ba1804e40bb73f67c3f
Depends-On: Ibfc2c82f863d88b2a65bd8990933146fc9ff3ee9
This commit is contained in:
James E. Blair 2017-09-27 12:12:43 -07:00
parent 38a46bcf21
commit ac5ff85cc4

View File

@ -13,5 +13,5 @@
tox_install_sibling_packages:
tox_envlist: "{{ tox_envlist }}"
project_dir: "{{ zuul_work_dir }}"
projects: "{{ zuul.projects }}"
projects: "{{ zuul.projects | selectattr('required') | list }}"
when: tox_install_siblings