5973c9b7b1
The pre-playbook for the javascript jobs got complex. Extract it to a role so we can better document it. Also - stop installing javascript depends in pre - the depends declared in a patch should be tested as part of the patch. Change-Id: I50a483f223620cd3f9ecd82887062cfc9ac64b7f
15 lines
360 B
ReStructuredText
15 lines
360 B
ReStructuredText
Install javascript build tool needed for a project
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: js_build_tool
|
|
:default: autodetected
|
|
|
|
What command to use. If the ``zuul_work_dir`` has a ``yarn.lock``
|
|
file, it will default to ``yarn``, otherwise ``npm``.
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
The directory to work in.
|