osc-check-plugins job: Ensure OSC plugins from git

openstackclient-check-plugins did not install OSC plugins
from git even when they are specified in required-projects.
This happened "item.short_name" is not evaluated.

Change-Id: I069e63005ad2cd24f134fee475fa246bf324a7e2
This commit is contained in:
Akihiro Motoki 2021-03-08 21:07:16 +09:00 committed by Radosław Piliszek
parent 37076d16af
commit b7bd239e81

View File

@ -26,10 +26,11 @@
- name: Install repos that are in requirements.txt
shell:
cmd: |
grep item.short_name requirements.txt
if [ $? -eq 0 ] ; then
osc_plugins/bin/pip install -c upper-constraints.txt -e {{ ansible_user_dir }}/{{ item.src_dir }}
fi
echo "------------------------------------------------------------"
grep {{ item.short_name }} requirements.txt
if [ $? -eq 0 ] ; then
osc_plugins/bin/pip install -c upper-constraints.txt -e {{ ansible_user_dir }}/{{ item.src_dir }}
fi
args:
chdir: /home/zuul/src/opendev.org/openstack/openstackclient
with_items: "{{ zuul.projects.values() | list }}"