3279a7ec10
We name the base image we build gerrit-base and we expose port 8081 not 8080 as opendev's gerrit listens on 8081. Also explicitly build the javamelody plugin deps jar and copy it into the review_site/lib dir on Gerrit 2 bazel builds. This is necessary according to javamelody plugin build docs. In order to split Gerrit 2.x and 3.x behavior in the Bazel builds we convert our Dockerfile into a multi stage build. All this ended up down a thread pull where the script in the Dockerfile dir called build-gerrit.sh isn't actually used to build gerrit :/ clarify that. The script may be useful for local builds so we haven't removed it yet. Finally update gerrit plugin checkouts to tags or master as appropriate where stable branches don't exist for the specified version. Change-Id: I155a20685b3462e965c4216d134b3b36978fbcc7
27 lines
600 B
ReStructuredText
27 lines
600 B
ReStructuredText
Run bazelisk build
|
|
|
|
Runs bazelisk build with the specified targets.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: bazelisk_targets
|
|
:default: "release"
|
|
|
|
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.
|