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:
parent
8dde7e08d2
commit
45f2e0de02
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue