|
Update waterfall templates to include Milo link.
Milo is currently ingesting all of the build data for all of the
waterfalls. Add a link to each waterfall with a parallel Milo view that
clicks through to Milo.
In order to do this, we add core "milo.js" and "milo.css" files to
"chromium"'s "public_html" folders. We also augment "layout.html" to
execute the "milo.js" injection function.
Every waterfall with its own "layout.html" template has been updated to
include the "milo.js" import and injection code.
Every waterfall with its own "public_html" directory has had the Milo
JavaScript, CSS, and image files symlinked to "chromium/" so they can
access the resources referenced by their "layout.html".
The injection function examines the current URL and decides if it maps
to a view Milo supports, namely a builder or build view. If it does, a
[LogDog] tab is injected into the header that links to the Milo
equivalent view.
The BuildBot base template is augmented to pass the master name to
"milo.js". This is the actual name used by Milo, as opposed to the
chromegw URL name which can occasionally vary. The modified template
parameter is protected with the "|default" filter function so masters
whose templates update but aren't restarted won't fail to render.
BUG=None
TEST=local
- Started masters with affected "layout.html" pages locally, seem to
be working!
R=estaab@chromium.org, iannucci@chromium.org
Committed: https://chromium.googlesource.com/chromium/tools/build/+/48c11b45c0c209234d68833b33c5b81dd282e633
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+167 lines, -0 lines) |
Patch |
 |
A |
masters/master.chromium.gatekeeper/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromium.infra.codesearch/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromium.infra/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromium/public_html/common-resources/chrome-infra-logo-32x32.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
 |
A |
masters/master.chromium/public_html/common-resources/milo.css
|
View
|
1
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromium/public_html/common-resources/milo.js
|
View
|
1
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
M |
masters/master.chromium/templates/layout.html
|
View
|
1
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromiumos.tryserver/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.chromiumos/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.dart/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.drmemory/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.dynamorio/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.nacl/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.skia/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.syzygy/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.client.wasm.llvm/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.tryserver.blink/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.tryserver.chromium.linux/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
masters/master.tryserver.chromium.perf/public_html/common-resources
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/buildbot_8_4p1/buildbot/status/web/base.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 14 (3 generated)
|