a8e1d1496d
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
11 lines
411 B
YAML
11 lines
411 B
YAML
- name: Run bazelisk build
|
|
shell: |
|
|
java -fullversion
|
|
{{ bazelisk_executable }} version
|
|
{{ bazelisk_executable }} build --spawn_strategy=standalone --genrule_strategy=standalone {{ bazelisk_targets }}
|
|
# release.war is a symlink. We want an actual file so that docker copy works right.
|
|
cp bazel-bin/release.war release.war
|
|
args:
|
|
executable: /bin/bash
|
|
chdir: "{{ zuul_work_dir }}"
|