|
|
milo: Enable Swarming LogDog log loading.
Enable Swarming builds to load directly from Milo annotation streams
when the build contains a LogDog "log_location" tag.
To do this, Swarming parses the tags when it fetches a task result. If
the tags include a "log_location" tag, and that location is LogDog, it will
terminate any log fetching (if applicable) and, rather than parse
Swarming logs through Annotee, load the annotation protobuf instead.
To enable this, we introduce the concept of a LogDog URL:
logdog://host/project/prefix/+/name
This URL is handled in the LogDog "types" package.
BUG= chromium:692220
TEST=unit
Review-Url: https://codereview.chromium.org/2695383002
Committed: https://github.com/luci/luci-go/commit/0118a73d6c8f7cb94001978d89424a82b0b37d37
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1338 lines, -222 lines) |
Patch |
 |
A |
logdog/common/types/streamaddr.go
|
View
|
1
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
A |
logdog/common/types/streamaddr_test.go
|
View
|
1
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
M |
logdog/common/types/streamname_test.go
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/buildbot/buildinfo.go
|
View
|
1
|
4 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/frontend/expectations/bootstrap-swarming.TestableBuild-build-running-logdog.html
|
View
|
1
|
1 chunk |
+193 lines, -0 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-running-logdog.html
|
View
|
1
|
1 chunk |
+307 lines, -0 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/logdog/build.go
|
View
|
1
|
4 chunks |
+19 lines, -23 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/logdog/http.go
|
View
|
1
|
2 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/build.go
|
View
|
1
|
11 chunks |
+139 lines, -27 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/build_test.go
|
View
|
|
3 chunks |
+27 lines, -9 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/buildinfo.go
|
View
|
1
|
8 chunks |
+52 lines, -35 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/buildinfo_test.go
|
View
|
|
3 chunks |
+10 lines, -55 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/swarming/expectations/build-running-logdog.json
|
View
|
1
|
1 chunk |
+159 lines, -0 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/html.go
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
milo/appengine/swarming/html_data.go
|
View
|
|
4 chunks |
+152 lines, -51 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/swarming/testdata/build-running-logdog
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/swarming/testdata/build-running-logdog.swarm
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
milo/appengine/swarming/testdata/build-running-logdog.pb.txt
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|