zuul-jobs/roles/bindep
Andreas Jaeger 002956ee54 Update tox-docs to follow build-sphinx better
The build-sphinx job uses compile and test bindep profiles, update tox-docs to use the same.

tox-docs used to run tools/test_setup due to inheriting from unittests,
remove that inheritance since we do not need it.

Update role bindep to have a default for zuul_work_dir. If this role is
used without unittests, zuul_work_dir is unset.

Change-Id: I5df8b9cd90bf5e4f4c84c7b4514fb9c575898e31
2018-08-22 07:54:42 +02:00
..
defaults Update tox-docs to follow build-sphinx better 2018-08-22 07:54:42 +02:00
handlers Make sure bindep is on the node 2017-07-09 07:46:07 -05:00
tasks Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
README.rst Update bindep role defaults to be more sane 2017-10-17 16:18:22 +02:00

Installs distro packages using bindep tool

Looks for a bindep.txt in a project's source directory, or failing that a other-requirements.txt. If one exists, run bindep on the file to produce a list of required distro packages that do not exist and then install the missing packages.

Role Variables

Path to a specific bindep file to read from.

Path to the bindep command. Defaults to unset which will look for a system installed bindep. If bindep_command is not found, bindep will be installed into a temporary virtualenv.

Path to a bindep fallback file to be used if no bindep file can be found in :zuulbindep.bindep_dir.