Clark Boylan 01dab90bc1 Handle x/ prefix projects on gerrit 3.2
Gerrit seems to handle x/ for plugin extensions in polygerrit.
Unfortunately we've got projects called x/* and that breaks cloning of
these projects. Lets just avoid that for nwo until we can do a rename.

Change-Id: Id01739725c22af9d02ac30b1653743b49a35a332
2020-11-21 13:58:34 -08:00

17 lines
454 B
YAML

- hosts: all
tasks:
- shell: |
cd /home/zuul/src/gerrit.googlesource.com/gerrit
# Disable the x/ redirection since we have x/ projects
sed -i -e 's|"/x/\*"\,$|//"/x/*",|g' java/com/google/gerrit/httpd/raw/StaticModule.java
- hosts: all
roles:
- role: bazelisk-build
zuul_work_dir: /home/zuul/src/gerrit.googlesource.com/gerrit
- build-docker-image
- hosts: localhost
roles:
- pause-buildset-registry