From d4cdaae8d9c23d4224b7100aab7847dce687928a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 12 Jun 2020 10:22:12 +1000 Subject: [PATCH] Use abstracted virtualenv_command from ensure-pip This will use venv and Python 3 on platforms where that is supported. Change-Id: I8293d3299e47e9221d37eb36db6ce5f056824b0e --- playbooks/bindep/run.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/bindep/run.yaml b/playbooks/bindep/run.yaml index 5acdd43..c296894 100644 --- a/playbooks/bindep/run.yaml +++ b/playbooks/bindep/run.yaml @@ -1,4 +1,6 @@ - hosts: all + roles: + - ensure-pip vars: bindep_profile: test tasks: @@ -6,12 +8,14 @@ pip: chdir: "{{ zuul_work_dir }}" virtualenv: "{{ zuul_work_virtualenv }}" + virtualenv_command: "{{ ensure_pip_virtualenv_command }}" requirements: requirements.txt - name: Install the project from source pip: chdir: "{{ zuul_work_dir }}" virtualenv: "{{ zuul_work_virtualenv }}" + virtualenv_command: "{{ ensure_pip_virtualenv_command }}" name: . - name: Run bindep with the file