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