Ensure a recent version of pip is installed

commit caa8675adc
switched to use ensure_pip_virtualenv_command command.

This review uses the same task as [1] in image builds
to ensure that a recent version of pip is installed
before installing from upper constraints.

[1] https://opendev.org/openstack/tripleo-ci/src/branch/master/roles/oooci-build-images/tasks/pre.yaml#L59
Closes-Bug: #1953617
Change-Id: I35837c6dc22aeb7ac43c37d29d22742a8378cdaf
This commit is contained in:
Ronelle Landy 2021-12-08 12:29:49 -05:00
parent 8dde7e08d2
commit 45f2e0de02
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@
- six>=1.14.0
extra_args: --user
- name: Ensure a recent version of pip is installed
pip:
name: "pip>=19.1.1"
virtualenv: "{{ workspace }}/venv_build"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
- name: Install deps from upper-constraints
when: zuul_internal is undefined
pip: