Files
zuul-jobs/roles/bindep
Tristan Cacqueray 184f036fd8 bindep: fix install bindep_command fact name
After installing bindep, the role should set the bindep_command fact
instead of bindep_found_command. Otherwise the role fail later:

Task: Define bindep_command fact
The error was: 'bindep_command' is undefined

Change-Id: I11a21c9678c75b7887a8a58c25925dc87e7c9315
2017-12-05 08:52:31 +00:00
..
2017-07-09 07:46:07 -05: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.