gerrit: host logo in static files

Instead of using the opendev.org/... logo file, host a copy from
gerrit's static location and use that.  This isolates us from changes
to the way gitea serves its static assets.

Change-Id: I8ffb47e636a59e5ecc3919cc7a16d93de3eae08d
This commit is contained in:
Ian Wienand 2021-09-17 10:58:26 +10:00
parent 227839e8ad
commit f19e41e893
3 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,7 @@ limitations under the License.
<style>
html {
--header-title-content: "opendev";
--header-icon: url("https://opendev.org/img/opendev-sm.png");
--header-icon: url("/static/opendev-sm.png");
--header-icon-size: 1.2em;
--border-width: 0 0 3px 0;

View File

@ -0,0 +1 @@
../../../../../assets/opendev-sm.png

View File

@ -49,6 +49,7 @@
dest: '/home/zuul/src/gerrit.googlesource.com/gerrit/{{ item }}'
loop:
- static/cla.html
- static/opendev-sm.png
- static/robots.txt
- static/system-cla.html
- static/usg-cla.html