system-config/roles/bazelisk-build/README.rst
Monty Taylor a8e1d1496d Build gerrit images with bazelisk
We need to use bazelisk to build gerrit so that we can properly
track bazel versions in the job. Use the roles developed for
gerrit-review to do that, then simplify the dockerfile to have
it simply copy the war into the target image.

Also add polymer-bridges.

Depends-On: https://review.opendev.org/709256
Change-Id: I7c13df51d3b8c117bcc9aab9caad59687471d622
2020-02-21 17:32:01 -06:00

27 lines
593 B
ReStructuredText

Run bazelisk build
Runs bazelisk build with the specified targets.
**Role Variables**
.. zuul:rolevar:: bazelisk_targets
:default: ""
The bazelisk targets to build.
.. zuul:rolevar:: bazelisk_test_targets
:default: ""
The bazelisk targets to test. ``bazelisk test`` will only be run
if this value is not the empty string.
.. zuul:rolevar:: bazelisk_executable
:default: bazelisk
The path to the bazelisk executable.
.. zuul:rolevar:: zuul_work_dir
:default: {{ ansible_user_dir }}/{{ zuul.project.src_dir}}
The working directory in which to run bazelisk.