Add zuul_pip_virtualenv_python variable

The Python executable used for creating the virtual environment. For example
python3.5, python2.7. When not specified, the Python version used to run the
ansible module is used.

Change-Id: I18a0f388e64ad30d3edd1240aa6ba3d5b6526d65
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-25 14:09:40 -04:00
parent 05f6dbb937
commit ac99248f69
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 6 additions and 3 deletions

View File

@ -68,9 +68,10 @@ zuul_git_version: feature/zuulv3
zuul_install_method: git
zuul_pip_name: zuul
#zuul_pip_extra_args:
#zuul_pip_version:
#zuul_pip_virtualenv:
# zuul_pip_extra_args:
# zuul_pip_version:
# zuul_pip_virtualenv_python
# zuul_pip_virtualenv:
# tasks/service.yaml
zuul_file_zuul_executor_service_group: root

View File

@ -24,4 +24,5 @@
pip:
extra_args: "{{ zuul_pip_extra_args|default(omit) }}"
name: "file://{{ zuul_git_dest }}"
virtualenv_python: "{{ zuul_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ zuul_pip_virtualenv|default(omit) }}"

View File

@ -18,4 +18,5 @@
extra_args: "{{ zuul_pip_extra_args|default(omit) }}"
name: "{{ zuul_pip_name }}"
version: "{{ zuul_pip_version|default(omit) }}"
virtualenv_python: "{{ zuul_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ zuul_pip_virtualenv|default(omit) }}"