Merge "Ensure we get a fully updated venv"

This commit is contained in:
Zuul 2022-01-31 10:45:08 +00:00 committed by Gerrit Code Review
commit 051457b7cd
1 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,7 @@
- name: Ensure a recent version of pip is installed
pip:
extra_args: '--upgrade'
name: "pip>=19.1.1"
virtualenv: "{{ workspace }}/venv"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
@ -65,7 +66,7 @@
- name: Install deps from upper-constraints
when: ansible_distribution == 'CentOS'
pip:
extra_args: "-c {{ openstack_git_root }}/requirements/upper-constraints.txt"
extra_args: "--upgrade -c {{ openstack_git_root }}/requirements/upper-constraints.txt"
requirements: "{{ openstack_git_root }}/{{ item }}/requirements.txt"
virtualenv: "{{ workspace }}/venv"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
@ -78,6 +79,7 @@
- name: pip install tripleo items
pip:
name: "{{ tripleo_pip_projects }}"
extra_args: "--upgrade"
state: present
virtualenv: "{{ workspace }}/venv"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"