c0b358fedb
The old role will be kept and include ensure-if-python for backwards-compatability. Change-Id: Ief86799bcd91358d3ce8b6badda272a26ee04002
31 lines
765 B
ReStructuredText
31 lines
765 B
ReStructuredText
Install the contents of a directory if they contain a python project.
|
|
|
|
Installs into a virtualenv.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: install_package
|
|
:default: true
|
|
|
|
Flag indicating whether or not the software in the ``zuul_work_dir`` should
|
|
be installed.
|
|
|
|
.. zuul:rolevar:: error_on_failure
|
|
|
|
Flag that indicates installation errors should result in failure. Failures
|
|
in installing the target directory are ignored by default.
|
|
|
|
.. zuul:rolevar:: constraints_file
|
|
|
|
Optional path to a pip constraints file to use when installing.
|
|
|
|
.. zuul:rolevar:: zuul_work_virtualenv
|
|
:default: ~/.venv
|
|
|
|
Virtualenv location in which to install things.
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
Directory to operate in.
|