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
This commit is contained in:
Clark Boylan 2020-11-21 13:29:26 -08:00 committed by James E. Blair
parent c882808578
commit 01dab90bc1
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
- 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