zuul-jobs/roles/install-if-python
Monty Taylor 28bf5c0dcc
Ensure ChangeLog exists in install-if-python
We install projects if they are python in the sphinx jobs because
autodoc needs to be able to import the package. Also, for pbr projects,
many projects have links to ChangeLog in the docs, which is generated by
pbr on install and sdist. Installing with pip install --no-deps does not
cause the ChangeLog to be generated, so trigger it via an sdist build
first.

Change-Id: I4528cc7f322d1fc753eb5bc259f70c47ee9d1d80
2017-12-01 13:36:05 -06:00
..
defaults Add general sphinx and reno jobs and role 2017-11-20 17:59:28 -06:00
tasks Ensure ChangeLog exists in install-if-python 2017-12-01 13:36:05 -06:00
README.rst Add general sphinx and reno jobs and role 2017-11-20 17:59:28 -06:00

README.rst

Install the contents of a directory if they contain a python project.

Installs into a virtualenv.

Role Variables

Flag that indicates installation errors should result in failure. Failures in installing the target directory are ignored by default.

Optional path to a pip constraints file to use when installing.