zuul-jobs/roles
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
..
add-authorized-keys role: Inject public keys in case of failure 2018-02-28 10:39:07 +00:00
add-build-sshkey Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
add-fileserver Document upload-logs reliance on add-fileserver 2019-01-22 14:41:11 -08:00
add-gpgkey Add roles to add/remove a GPG key 2017-10-19 13:26:16 -07:00
add-launchpad-credentials fix the template instruction for writing launchpadlib/creds 2017-10-16 16:41:05 -04:00
add-sshkey add-sshkey: make the private key owner-writable 2017-10-19 14:23:28 -07:00
ansible-galaxy-import Fix typo with ansible_galaxy_info.token 2018-10-12 16:59:20 -04:00
ara-report Make ara-report role to zuul_return an artifact 2020-01-23 18:33:06 +01:00
bindep Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
build-container-image Remove hardcoded use of /home/zuul 2020-04-24 11:33:03 +02:00
build-docker-image Remove hardcoded use of /home/zuul 2020-04-24 11:33:03 +02:00
build-puppet-module Rename install-pdk-dependencies to ensure-pdk-dependencies for consistency 2020-04-04 15:41:29 -04:00
build-python-release Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
build-releasenotes Add more languages for build-releasenotes 2019-09-23 14:01:05 +02:00
buildset-artifacts-location Fix RST formatting 2018-10-13 10:36:36 +02:00
cabal-test cabal-test: add initial haskell job 2020-04-24 13:12:13 +00:00
chart-testing Move chart-testing to a role and disable version check 2020-01-09 11:46:41 -08:00
clear-firewall Add note to clear-firewall docs 2019-07-25 14:29:52 -07:00
collect-container-logs Use unique loop vars to avoid conflicts 2020-02-04 12:23:36 -08:00
collect-kubernetes-logs add role for collecting the kubernetes pod&kubelet logs 2020-03-23 22:28:02 +02:00
configure-mirrors Add CentOS8 High Availability repository 2020-02-05 15:47:06 +01:00
copy-build-sshkey Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
create-afs-token Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
deploy-openshift install-openshift: bump version to 3.11.0 2019-08-15 16:54:26 +00:00
destroy-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
download-artifact Remove download_artifact_name parameter 2019-08-12 07:10:52 -07:00
dstat-graph Add dstat graph roles 2019-07-17 15:45:24 +00:00
emit-job-header Improve job and node information banner 2020-03-30 10:47:24 +01:00
enable-netconsole Add a netconsole role 2019-09-09 18:14:00 +10:00
ensure-babel Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
ensure-bazelisk Document output variables 2020-04-17 10:45:15 +02:00
ensure-cabal cabal-test: add initial haskell job 2020-04-24 13:12:13 +00:00
ensure-chart-testing Add basic Helm jobs 2020-01-07 17:12:15 +00:00
ensure-devstack Rename install-devstack to ensure-devstack for consistency 2020-04-04 15:41:29 -04:00
ensure-docker Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
ensure-dstat-graph Add dstat graph roles 2019-07-17 15:45:24 +00:00
ensure-ghc cabal-test: add initial haskell job 2020-04-24 13:12:13 +00:00
ensure-go Rename install-go to ensure-go for consistency 2020-04-06 21:10:11 +02:00
ensure-golangci-lint golangci-lint: add job 2020-04-01 17:30:55 -04:00
ensure-helm Add basic Helm jobs 2020-01-07 17:12:15 +00:00
ensure-if-python Rename install-if-python to ensure-if-python for consistency 2020-04-04 15:41:29 -04:00
ensure-java Add ensure-java role 2020-02-21 06:55:47 -06:00
ensure-javascript-packages Rename install-javascript-packages to ensure-javascript-packages for consistency 2020-04-04 15:41:29 -04:00
ensure-kubernetes Rename install-kubernetes to ensure-kubernetes for consistency 2020-04-04 15:41:29 -04:00
ensure-markdownlint Add a markdownlint job and role 2020-01-27 12:23:24 +00:00
ensure-nodejs Rename install-nodejs to ensure-nodejs for consistency 2020-04-04 15:41:29 -04:00
ensure-openshift Rename install-openshift to ensure-openshift for consistency 2020-04-04 15:41:29 -04:00
ensure-output-dirs Add role to ensure per-node output dirs exist 2018-07-17 15:34:00 -04:00
ensure-packer Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
ensure-pdk-dependencies Rename install-pdk-dependencies to ensure-pdk-dependencies for consistency 2020-04-04 15:41:29 -04:00
ensure-phoronix-test-suite Add phoronix-test-suite job 2020-04-03 13:03:07 +00:00
ensure-pip Python roles: misc doc updates 2020-04-17 10:45:26 +02:00
ensure-podman Add support for RedHat platforms on ensure-podman 2020-04-06 18:52:07 +01:00
ensure-python Python roles: misc doc updates 2020-04-17 10:45:26 +02:00
ensure-sphinx Python roles: misc doc updates 2020-04-17 10:45:26 +02:00
ensure-tox Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
ensure-twine Revert "Add environment debugging to ensure-twine role" 2019-04-26 10:35:22 -05:00
ensure-virtualenv Add ensure-virtualenv 2020-04-28 06:09:54 +00:00
ensure-yarn Rename install-yarn to ensure-yarn for consistency 2020-04-04 15:41:29 -04:00
fetch-coverage-output Fix coverage post_failure stat 2018-07-22 09:46:01 -04:00
fetch-javascript-content-tarball Use human-readable names for artifact returns 2019-08-12 07:13:27 -07:00
fetch-javascript-output fetch-javascript-output: add metadata.type 2020-04-07 12:09:26 -04:00
fetch-javascript-tarball fetch-javascript-tarball: introduce zuul_use_fetch_output 2020-01-24 21:11:07 +00:00
fetch-markdownlint Add a markdownlint job and role 2020-01-27 12:23:24 +00:00
fetch-output Merge "Add note about multi-node jobs" 2019-01-06 19:17:49 +00:00
fetch-output-openshift fetch-output-openshift: initial role 2020-01-30 20:00:14 +00:00
fetch-phoronix-results Add phoronix-test-suite job 2020-04-03 13:03:07 +00:00
fetch-puppet-module-output Create fetch-puppet-module-output role 2017-10-27 14:15:36 -04:00
fetch-python-sdist-output Add fetch-python-sdist-output role 2017-08-23 11:04:52 -04:00
fetch-sphinx-output Remove sphinx_output_dir 2019-08-16 15:39:59 +02:00
fetch-sphinx-tarball Add testing of fetch-sphinx-tarball role 2020-04-23 13:52:48 +01:00
fetch-subunit-output fetch-subunit-output: introduce zuul_use_fetch_output 2020-01-24 21:07:50 +00:00
fetch-tox-output Use cached 'tox_executable' in fetch-tox-output 2020-04-21 12:10:54 +02:00
fetch-translation-output translations: Check for translation-source first 2017-12-16 15:45:36 +00:00
fetch-zuul-cloner fetch-zuul-cloner: use ensure-pip 2020-04-15 15:34:21 -07:00
find-constraints Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
generate-zuul-manifest Fix cleanup of symlink fixtures 2020-02-24 17:17:17 +00:00
git-prepare-nodecache Optimize repos for size when preparing for nodecache 2020-03-02 09:54:56 +01:00
go Adds go jobs and roles. 2019-11-20 20:27:21 +01:00
golangci-lint golangci-lint: add job 2020-04-01 17:30:55 -04:00
helm-template Fix the checking helm_values_file definition 2020-04-23 14:35:44 -07:00
htmlify-logs Update more urls for opendev 2019-04-21 14:01:15 +00:00
install-devstack Rename install-devstack to ensure-devstack for consistency 2020-04-04 15:41:29 -04:00
install-docker Rename install-docker to ensure-docker for consistency 2020-04-04 15:41:29 -04:00
install-go Rename install-go to ensure-go for consistency 2020-04-06 21:10:11 +02:00
install-if-python Rename install-if-python to ensure-if-python for consistency 2020-04-04 15:41:29 -04:00
install-javascript-packages Rename install-javascript-packages to ensure-javascript-packages for consistency 2020-04-04 15:41:29 -04:00
install-kubernetes Rename install-kubernetes to ensure-kubernetes for consistency 2020-04-04 15:41:29 -04:00
install-nodejs Rename install-nodejs to ensure-nodejs for consistency 2020-04-04 15:41:29 -04:00
install-openshift Rename install-openshift to ensure-openshift for consistency 2020-04-04 15:41:29 -04:00
install-pdk-dependencies Rename install-pdk-dependencies to ensure-pdk-dependencies for consistency 2020-04-04 15:41:29 -04:00
install-podman Rename install-podman to ensure-podman for consistency 2020-04-04 15:41:29 -04:00
install-yarn Rename install-yarn to ensure-yarn for consistency 2020-04-04 15:41:29 -04:00
local-log-download Improve 404 error message on download-logs.sh 2020-04-15 09:51:57 +01:00
log-inventory log-inventory: remove inventory_file usage 2018-06-27 00:48:24 +00:00
markdownlint Add a markdownlint job and role 2020-01-27 12:23:24 +00:00
merge-output-to-logs Use find instead of ls for determining dir emptiness 2019-01-21 17:24:51 +00:00
mirror-workspace-git-repos Kubernetes Node Support for Mirroring Git Repos 2020-03-09 14:44:24 +01:00
multi-node-bridge Use centos8 deps repo for RHEL8 nodes 2020-03-18 10:29:04 +01:00
multi-node-firewall Revert "Use import_role on persistent-firewall" 2019-10-01 09:11:02 -07:00
multi-node-hosts-file Include hostnames in /etc/hosts 2018-06-05 11:13:03 +01:00
multi-node-known-hosts Add missing README.rst for roles 2018-09-05 19:35:53 +00:00
nodejs-test-dependencies Fix npm-run-test 2017-11-14 13:19:08 +00:00
npm npm: add CI=true environment 2018-08-15 08:38:08 +00:00
packer Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
pause-buildset-registry Add pause-buildset-registry role 2020-02-24 17:17:12 +00:00
persistent-firewall Use present for package state instead of installed 2019-12-17 08:24:05 -08:00
phoronix-combine-results Add phoronix-test-suite job 2020-04-03 13:03:07 +00:00
phoronix-test-suite Add phoronix-test-suite job 2020-04-03 13:03:07 +00:00
prepare-workspace Delete files in dest that don't exist 2019-04-01 09:18:26 -04:00
prepare-workspace-git Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
prepare-workspace-openshift Update roles/prepare-workspace-openshift/README.rst 2020-01-23 17:09:03 +01:00
promote-docker-image Trim whitespace from uri password for docker promote 2020-03-23 13:01:46 -05:00
publish-artifacts-to-fileserver Document and update fileserver roles 2017-08-18 18:21:50 -05:00
pull-from-intermediate-registry Use unique loop vars to avoid conflicts 2020-02-04 12:23:36 -08:00
push-to-intermediate-registry use-buildset-registry: Add podman support 2019-12-05 11:44:15 -08:00
release-afs-volume Add role to do a vos release on an AFS volume 2017-09-01 16:40:40 -05:00
remove-build-sshkey Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
remove-gpgkey Fix exec quoting in release remove-gpgkey role 2019-03-15 14:36:14 +01:00
remove-launchpad-credentials Add roles for adding and removing launchpadlib credentials 2017-08-30 18:53:21 -05:00
remove-sshkey Add a role to remove an ssh private key 2017-08-29 15:56:45 -07:00
revoke-sudo revoke-sudo: only revoke when zuul is sudoer 2017-12-05 08:36:26 +00:00
run-buildset-registry Use unique loop vars to avoid conflicts 2020-02-04 12:23:36 -08:00
run-dstat Add dstat graph roles 2019-07-17 15:45:24 +00:00
set-zuul-log-path-fact Add option for object store friendly log paths 2019-09-04 09:52:38 -07:00
sign-artifacts Remove GPG public key for sign-artifacts role 2017-08-25 13:28:02 -04:00
sphinx Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
stage-output Stop compressing files during intermediate steps part 2 2020-01-08 09:24:45 -08:00
start-zuul-console Update ANSIBLE_LIBRARY to use envsitepackagesdir 2018-10-18 09:23:25 -05:00
test-mirror-workspace-git-repos Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
test-setup Skip test-setup.sh in pep8 jobs 2019-07-10 19:02:57 +02:00
test-upload-logs-swift test-upload-logs-swift: revert download script 2020-03-30 12:32:02 +11:00
tox Python roles: misc doc updates 2020-04-17 10:45:26 +02:00
trigger-readthedocs Revert "Debugging for readthedoc web ping" 2018-08-02 19:18:40 +10:00
upload-afs-roots upload-afs: rename to upload-afs-roots; add afs-upload-synchronize 2020-02-04 07:41:00 +11:00
upload-afs-synchronize Precreate AFS target directory in upload 2020-02-24 19:40:04 +00:00
upload-docker-image Use unique loop vars to avoid conflicts 2020-02-04 12:23:36 -08:00
upload-forge Rework upload-forge role to use module 2019-02-09 10:32:34 +01:00
upload-git-mirror Add parameter to upload-git-mirror to specify ssh host key 2019-04-01 16:34:59 -04:00
upload-logs Allow upload-logs to toggle compression of console logs 2019-09-20 17:03:58 +00:00
upload-logs-gcs Fix cleanup of symlink fixtures 2020-02-24 17:17:17 +00:00
upload-logs-swift Revert "upload-logs-swift: Create a download script" 2020-03-27 14:59:49 +01:00
upload-npm Change to the executor workdir during npm upload 2017-12-09 17:27:56 +00:00
upload-pypi Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
use-buildset-registry use-buildset-registry: wait for kubernetes service to be available 2020-04-13 19:27:27 +00:00
use-docker-mirror Rename install-docker to ensure-docker for consistency 2020-04-04 15:41:29 -04:00
validate-dco-license Add validate-dco-license role 2019-01-09 11:39:02 -05:00
validate-host Replace occurences of '/' in nodename to something more path friendly 2020-03-16 11:27:10 +01:00
validate-zone-db Use unique loop vars to avoid conflicts 2020-02-04 12:23:36 -08:00
version-from-git Fix condition in version-from-git 2018-03-07 08:25:18 +00:00
wait-for-pods wait-for-pods: Wait for all pods to become Ready 2020-03-14 14:14:43 -04:00
write-inventory write-inventory: Add groups to created inventory 2018-08-28 19:54:21 +10:00
yarn Remove "--verbose" from yarn commands 2019-02-08 14:23:01 -08:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00