zuul-jobs/test-playbooks
Ian Wienand 08bbd16c52 Add ensure-virtualenv
This is part of the efforts to remove pip-and-virtualenv from our base
images [1].

There are some users who specifically require the virtualenv command
(perhaps, like dib, they have some code that uses the activate_this.py
mechanisms it provides wich venv does not).

This installs the virtualenv package for the currently running
distribution.

One of the main maintenance issues of pip-and-virtualenv is that tried
to ensure that "virtualenv" created a Python 2 environment always by
default.  Now that we have Python 3 only distributions like current
Fedora, this is not something we can continue to do (even if we wanted
to, which we don't).

What owns virtualenv and what it produces in our heterogeneous
environment is messy, and I think the best we can do is document it as
done here.

[1] https://docs.opendev.org/opendev/infra-specs/latest/specs/cleanup-test-node-python.html

Change-Id: I97d8bfb970ed2b5aaa02a0813899014c94994066
2020-04-28 06:09:54 +00:00
..
base-roles fetch-subunit-output test: use ensure-pip 2020-04-15 15:34:21 -07: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
haskell cabal-test: add initial haskell job 2020-04-24 13:12:13 +00: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 Use cached 'tox_executable' in fetch-tox-output 2020-04-21 12:10:54 +02:00
registry Update registry test to use ensure-podman and ensure-docker 2020-04-07 04:53:04 +00:00
tox Use cached 'tox_executable' in fetch-tox-output 2020-04-21 12:10:54 +02: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 Add ensure-virtualenv 2020-04-28 06:09:54 +00: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: use ensure-pip role 2020-04-15 15:34:21 -07: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