zuul-jobs/test-playbooks
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
..
base-roles Replace occurences of '/' in nodename to something more path friendly 2020-03-16 11:27:10 +01:00
ensure-kubernetes Use ensure-* roles 2020-04-12 15:26:10 +02:00
ensure-podman Add support for RedHat platforms on ensure-podman 2020-04-06 18:52:07 +01:00
javascripts fetch-javascript-tarball: introduce zuul_use_fetch_output 2020-01-24 21:11:07 +00:00
multinode Use present for package state instead of installed 2019-12-17 08:24:05 -08:00
packer Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
python fetch-subunit-output: introduce zuul_use_fetch_output 2020-01-24 21:07:50 +00:00
registry Update registry test to use ensure-podman and ensure-docker 2020-04-07 04:53:04 +00:00
dstat-graph.yaml Add dstat graph roles 2019-07-17 15:45:24 +00:00
ensure-docker.yaml Rename install-docker to ensure-docker for consistency 2020-04-04 15:41:29 -04:00
ensure-java.yaml Add ensure-java role 2020-02-21 06:55:47 -06:00
ensure-pip.yaml ensure-pip: export ensure_pip_virtualenv_command 2020-04-15 15:34:19 -07:00
ensure-python-pyenv.yaml Add support for installing python with pyenv 2020-03-17 17:32:49 -04:00
ensure-tox.yaml ensure-tox: make idempotent and update testing 2020-04-08 11:18:34 +10:00
generate-zuul-manifest.yaml Add generate-zuul-manifest role 2019-07-23 09:43:55 -07:00
local-log-download.yaml local-log-download : role with script to download all log files 2020-04-01 07:41:26 +11:00
simple-role-test.yaml Add a simple test of the install-nodejs role 2019-06-27 14:04:57 -07:00
tox-siblings.yaml Fix python3 compat in tox siblings handling 2019-12-10 15:27:41 -08:00
upload-git-mirror.yaml Move upload-git-mirror test job in-repo 2019-06-27 15:02:29 -07:00