system-config/playbooks/zuul/gerrit/submodules.yaml
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

11 lines
264 B
YAML

- hosts: all
tasks:
- name: Checkout submodules
shell: "[ -d {{ item }} ] && git submodule update --init {{ item }}"
args:
chdir: /home/zuul/src/gerrit.googlesource.com/gerrit
loop:
- modules/jgit
- polymer-bridges