
install-plugins role didn't take into account upper constraints when installing plugins, this review fixes that. Change-Id: I82d81aad7952ce9d03c42187e4ae957043f59397
24 lines
655 B
YAML
24 lines
655 B
YAML
- name: Prepare tempest venv
|
|
become: yes
|
|
command: tox -r --notest -efull
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|
|
|
|
- name: Install plugins
|
|
become: yes
|
|
command:
|
|
cmd: >
|
|
tox -evenv-tempest --
|
|
pip install {{ item }}
|
|
--constraint {{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt
|
|
with_items: "{{ plugins_paths }}"
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|
|
when: plugins_paths is defined
|
|
|
|
- name: List installed tempest plugins
|
|
become: yes
|
|
command: tox -evenv-tempest -- tempest list-plugins
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|