zuul-jobs/roles/bindep
Albin Vass 6f2ff3f1b8 bindep: remove set_fact usage when converting string to list
This can cause problems where set_fact isn't able to override the
variable when bindep is used with include_role and bindep_file is set as
a variable in the include_role task.

Change-Id: I3099f1802f2d30df1265a9abc11a53c923ed4832
2021-02-01 15:09:07 +01:00
..
defaults Update tox-docs to follow build-sphinx better 2018-08-22 07:54:42 +02:00
handlers Capitalize task names 2020-05-16 17:46:17 +02:00
tasks bindep: remove set_fact usage when converting string to list 2021-02-01 15:09:07 +01:00
README.rst Allow bindep role to read from more then one bindep file 2020-11-02 17:17:47 +01: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 or list of paths to a specific bindep file(s) 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.