zuul-jobs/roles/fetch-javascript-output/README.rst
Monty Taylor ce9a90ff8f
Add a job variable to control javascript link copying
The zuul multi-tenant dashboard job wants to make a few symlinks to
simulate what would happen on a real deployment with rewrite rules. The
current hard-coded behavior of copying the links causes ... havoc.

Add a job variable defaulting to the current behavior which such jobs
can flip if they need to.

Change-Id: I751524baa80353606d74b87dbaacfe7cd8b71a5e
2018-06-05 15:10:08 -05:00

21 lines
485 B
ReStructuredText

Collect outputs from a javascript build
**Role Variables**
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
Directory to work in
.. zuul:rolevar:: javascript_content_dir
:default: dist
Directory, relative to zuul_work_dir, in which javascript output content
is to be found.
.. zuul:rolevar:: javascript_copy_links
:default: true
Whether to copy the data pointed to by symlinks in the built content, or
to copy them as symbolic links.