zuul-jobs/roles/install-yarn/README.rst
Paul Belanger 05fa2786af Create yarn_lock_file_path variable for install-yarn
This removes the hardcoded path to yarn.lock and allows a user to define
it manually.

Change-Id: Ib29c7d442fd57e583674ba86bdc0d5edfac844c9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-11-28 10:21:57 -05:00

14 lines
283 B
ReStructuredText

Install yarn from yarnpkg repos
**Role Variables**
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
The directory to work in.
.. zuul:rolevar:: yarn_lock_file_path
:default: {{ zuul_work_dir }}/yarn.lock
Path to yarn.lock file used by a project.