Ansible job definitions for Zuul
Go to file
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
doc Merge "Adds roles to install and run hashicorp packer" 2020-04-15 16:01:18 +00:00
playbooks Merge "Adds roles to install and run hashicorp packer" 2020-04-15 16:01:18 +00:00
roles ensure-pip: export ensure_pip_virtualenv_command 2020-04-15 15:34:19 -07:00
test-playbooks ensure-pip: export ensure_pip_virtualenv_command 2020-04-15 15:34:19 -07:00
tests Add test cases for tox line comment parsing 2020-04-03 19:34:24 +02:00
tools Fix check_jobs_documented linter 2020-04-10 19:07:25 +02:00
zuul-tests.d Merge "Adds roles to install and run hashicorp packer" 2020-04-15 16:01:18 +00:00
zuul.d Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
.ansible-lint Update ansible-lint exception 2020-03-18 22:17:14 +01:00
.gitignore Add a python unit test framework 2018-07-25 09:11:25 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-requirements.txt Remove bashate from test-requirements 2020-03-27 14:59:21 +01:00
tox.ini Use a zuul_* and add an .ansible-lint file 2020-03-13 20:26:06 +01:00

Zuul Jobs

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