d7b726140d
This provides an HTML-only PolyGerrit plugin consistent with our Gitea theming, generously provided by Paladox (many thanks!). Since we have to split some roles in the build playbook, also name the temporary patching role to make the build console a little easier to read. Change-Id: I3baf17d04b2dca34fc23dcab91c00544cedf0ca6
28 lines
720 B
YAML
28 lines
720 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Patch Gerrit's webapp routes to not shadow x/
|
|
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
|
|
|
|
- hosts: all
|
|
tasks:
|
|
- name: Install OpenDev theme plugin
|
|
copy:
|
|
src: opendevtheme.html
|
|
dest: /home/zuul/src/gerrit.googlesource.com/gerrit/opendevtheme.html
|
|
|
|
- hosts: all
|
|
roles:
|
|
- build-docker-image
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- pause-buildset-registry
|