Ian Wienand 6dce7ba605 ensure-pip: export ensure_pip_virtualenv_command
This makes ensure-pip export something that should be sensible for
users of pip: to put in their 'virtualenv_command' for their host.

The theory of operation is fairly simple; see if "python3 -m venv"
looks like it works, and set that as the command if it does.  If not,
set "virtualenv".  For sanity, we check if it works.

We pull in virtualenv in the Python 2 case, but for Python 3 we are
deliberately do not bring it as it is an unnecessary dependency.  If
jobs do require the actual `virtualenv` package, they should provision
it themselves ... except for Xenial, which, as described inline, has
issues.

Follow-on changes will convert existing zuul-jobs roles that install
tools into virtualenvs to use this argument.

Change-Id: Idad14c0e77eed5bf8df2c8f84f52fbdea2236a9f
2020-04-15 15:34:19 -07:00
2020-04-10 19:07:25 +02:00
2020-03-18 22:17:14 +01:00
2018-07-25 09:11:25 -07:00
2019-04-19 19:25:30 +00:00
2018-07-25 09:11:25 -07:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.

Description
Ansible job definitions for Zuul
Readme 36 MiB
Languages
Python 89.3%
Jinja 8.2%
Shell 2.1%
Dockerfile 0.2%
Nim 0.1%