adjust zuul_work_dir determination for cross-jobs
zuul.projects was changed from a list to a dict recently, so we need to adjust to a different way of finding the zuul_work_dir Change-Id: If2c3042ce5bc10a9d02decef34abdad65a53f5f8
This commit is contained in:
parent
850f4abc1b
commit
3fb20ab653
@ -13,7 +13,7 @@
|
||||
|
||||
Use the specified tox environments (``ALL`` selects all).
|
||||
vars:
|
||||
zuul_work_dir: "{{ (zuul.projects | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
|
||||
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
|
||||
# NOTE(jeblair): temporarily disabled tox_siblings until the fix
|
||||
# in https://review.openstack.org/514058 lands.
|
||||
tox_install_siblings: false
|
||||
|
Loading…
Reference in New Issue
Block a user