zuul-jobs/roles/bindep
Tristan Cacqueray ea5c3d08da bindep: skip package install when not needed
When bindep test doesn't output package, there is no need
to run the package task.

Change-Id: I6f13e060a6d9657d3dec4f43a0b9c2dbff2d362d
2017-12-05 09:09:34 +00:00
..
defaults Update bindep role defaults to be more sane 2017-10-17 16:18:22 +02:00
handlers Make sure bindep is on the node 2017-07-09 07:46:07 -05:00
tasks bindep: skip package install when not needed 2017-12-05 09:09:34 +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.