Commit Graph

5 Commits

Author SHA1 Message Date
vass c0b358fedb Rename install-if-python to ensure-if-python for consistency
The old role will be kept and include ensure-if-python for backwards-compatability.

Change-Id: Ief86799bcd91358d3ce8b6badda272a26ee04002
2020-04-04 15:41:29 -04:00
Monty Taylor 5854988a65
Revert "Revert "Install build bindep profiles alongside doc and test""
Try again with "compile" as the new bindep profile name.

This reverts commit ac5912fd8a.

Change-Id: I4a03c9c2377d0676fe6f5d11d2948a319b0ba341
2018-07-08 16:12:44 -04:00
Jeremy Stanley ac5912fd8a Revert "Install build bindep profiles alongside doc and test"
This reverts commit e3d911b3ef.

Puppet projects for OpenStack are already using a "build" bindep
profile which isn't satisfiable for some platforms on which they run
jobs. Revert for now while we consider either fixing them or
switching to a different profile name for this purpose.

Change-Id: I4131b6d67faf9e10004887e7b0b73c01ec7d421c
2018-07-07 00:31:40 +00:00
Monty Taylor e3d911b3ef
Install build bindep profiles alongside doc and test
In order to be able to separate out depends needed for building wheels,
depends needed for running tests and depends needed for running
software, we can tag build depends with a 'build' profile. However,
doing that then means we don't have all of the things we need for
building docs or testing things.

Add build to the profile list for both docs builds and test installs.

Change-Id: I0689acb53789d3650926a3e11aec4570df5d950c
Needed-By: https://review.openstack.org/580159
2018-07-05 17:42:19 -05:00
Monty Taylor b493ca62dd
Add general sphinx and reno jobs and role
Sphinx jobs and reno jobs need basically the same thing for
dependencies. So make a new role, ensure-sphinx, which is
parameterizable enough that it can be used by both reno and sphinx jobs.

Make build jobs for both releasenotes and sphinx docs, as both of these
things are perfectly valid things to do in both OpenStack and
non-OpenStack contexts. We'll add an openstack specific job in
openstack-zuul-jobs that uses these as parents but adds the requirements
repo and constraints file settings.

Some of the pip commands here can be improved once
https://github.com/ansible/ansible/pull/33098 lands and is released,
which would allow specifying --user and -c as parameters to the pip
module.

Change-Id: Idd7caf7d88b56d61872906027b4ce7d743572ded
Needed-By: I57de14580f39b9e1c11a587b51b44b61b02c84da
2017-11-20 17:59:28 -06:00