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

This commit is contained in:
Zuul 2024-01-23 12:13:11 +00:00 committed by Gerrit Code Review
commit f34a65753f

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 }}"