Fix check plugins: zuul.projects is now a dict
zuul.projects was recently moved to a dictionary, so looping over it needs some fixes in order to have openstackclient-check-plugins working again. Change-Id: I0b69a05374ad48831304e91c7f0801d351aa1a22
This commit is contained in:
parent
f811fbab29
commit
ef2f57b627
|
@ -10,8 +10,9 @@
|
|||
- shell:
|
||||
cmd: |
|
||||
echo "------------------------------------------------------------"
|
||||
osc_plugins/bin/pip install -e src/git.openstack.org/{{ item }}
|
||||
with_items: "{{ zuul.projects | selectattr('required') | map(attribute='name') | list }}"
|
||||
osc_plugins/bin/pip install -e src/{{ item.key }}
|
||||
when: item.value.required
|
||||
with_dict: "{{ zuul.projects }}"
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
|
|
Loading…
Reference in New Issue