Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: appengine/cmd/milo/buildbot/html_data.go

Issue 2102903002: Milo: Extract the rietveld information from buildbot. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: comment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package buildbot 5 package buildbot
6 6
7 import ( 7 import (
8 "fmt" 8 "fmt"
9 9
10 "github.com/luci/luci-go/appengine/cmd/milo/resp" 10 "github.com/luci/luci-go/appengine/cmd/milo/resp"
11 "github.com/luci/luci-go/appengine/cmd/milo/settings" 11 "github.com/luci/luci-go/appengine/cmd/milo/settings"
12 "github.com/luci/luci-go/common/clock/testclock" 12 "github.com/luci/luci-go/common/clock/testclock"
13 "github.com/luci/luci-go/server/templates" 13 "github.com/luci/luci-go/server/templates"
14 "golang.org/x/net/context" 14 "golang.org/x/net/context"
15 ) 15 )
16 16
17 // We put this here because _test.go files are sometimes not built. 17 // We put this here because _test.go files are sometimes not built.
18 var testCases = []struct { 18 var testCases = []struct {
19 builder string 19 builder string
20 build string 20 build string
21 }{ 21 }{
22 {"CrWinGoma", "30608"}, 22 {"CrWinGoma", "30608"},
23 {"win_chromium_rel_ng", "246309"},
23 } 24 }
24 25
25 // TestableBuild is a subclass of Build that interfaces with TestableHandler and 26 // TestableBuild is a subclass of Build that interfaces with TestableHandler and
26 // includes sample test data. 27 // includes sample test data.
27 type TestableBuild struct{ Build } 28 type TestableBuild struct{ Build }
28 29
29 // TestableBuilder is a subclass of Builder that interfaces with TestableHandler 30 // TestableBuilder is a subclass of Builder that interfaces with TestableHandler
30 // and includes sample test data. 31 // and includes sample test data.
31 type TestableBuilder struct{ Builder } 32 type TestableBuilder struct{ Builder }
32 33
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 URL: "Some URL", 95 URL: "Some URL",
95 Label: "Some finished bu ild", 96 Label: "Some finished bu ild",
96 Build: bb, 97 Build: bb,
97 }, 98 },
98 }, 99 },
99 }, 100 },
100 }, 101 },
101 }, 102 },
102 } 103 }
103 } 104 }
OLDNEW
« no previous file with comments | « appengine/cmd/milo/buildbot/expectations/win_chromium_rel_ng.246309.build.json ('k') | appengine/cmd/milo/buildbot/structs.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698