Use abstracted virtualenv_command from ensure-pip
This will use venv and Python 3 on platforms where that is supported. Change-Id: I8293d3299e47e9221d37eb36db6ce5f056824b0e
This commit is contained in:
parent
8c489f141d
commit
d4cdaae8d9
|
@ -1,4 +1,6 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- ensure-pip
|
||||||
vars:
|
vars:
|
||||||
bindep_profile: test
|
bindep_profile: test
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -6,12 +8,14 @@
|
||||||
pip:
|
pip:
|
||||||
chdir: "{{ zuul_work_dir }}"
|
chdir: "{{ zuul_work_dir }}"
|
||||||
virtualenv: "{{ zuul_work_virtualenv }}"
|
virtualenv: "{{ zuul_work_virtualenv }}"
|
||||||
|
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
|
||||||
requirements: requirements.txt
|
requirements: requirements.txt
|
||||||
|
|
||||||
- name: Install the project from source
|
- name: Install the project from source
|
||||||
pip:
|
pip:
|
||||||
chdir: "{{ zuul_work_dir }}"
|
chdir: "{{ zuul_work_dir }}"
|
||||||
virtualenv: "{{ zuul_work_virtualenv }}"
|
virtualenv: "{{ zuul_work_virtualenv }}"
|
||||||
|
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
|
||||||
name: .
|
name: .
|
||||||
|
|
||||||
- name: Run bindep with the file
|
- name: Run bindep with the file
|
||||||
|
|
Loading…
Reference in New Issue