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

Unified Diff: appengine/cmd/milo/frontend/milo.go

Issue 2134673003: milo: buildbucket builer view (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: apparently our bots cannot process a patch for a file that has spaces :( 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 side-by-side diff with in-line comments
Download patch
Index: appengine/cmd/milo/frontend/milo.go
diff --git a/appengine/cmd/milo/frontend/milo.go b/appengine/cmd/milo/frontend/milo.go
index a966159192da88431a7d8139badb55e056e9e90d..2b1ea676d48f24834be9f17afd1880c2c58b6b83 100644
--- a/appengine/cmd/milo/frontend/milo.go
+++ b/appengine/cmd/milo/frontend/milo.go
@@ -8,6 +8,7 @@ import (
"net/http"
"github.com/luci/luci-go/appengine/cmd/milo/buildbot"
+ "github.com/luci/luci-go/appengine/cmd/milo/buildbucket"
"github.com/luci/luci-go/appengine/cmd/milo/settings"
"github.com/luci/luci-go/appengine/cmd/milo/swarming"
"github.com/luci/luci-go/appengine/gaemiddleware"
@@ -21,12 +22,17 @@ func init() {
basemw := settings.Base()
gaemiddleware.InstallHandlers(r, basemw)
r.GET("/", basemw, settings.Wrap(frontpage{}))
+
+ // Swarming
r.GET("/swarming/task/:id/steps/*logname", basemw, settings.Wrap(swarming.Log{}))
r.GET("/swarming/task/:id", basemw, settings.Wrap(swarming.Build{}))
// Backward-compatible URLs:
r.GET("/swarming/prod/:id/steps/*logname", basemw, settings.Wrap(swarming.Log{}))
r.GET("/swarming/prod/:id", basemw, settings.Wrap(swarming.Build{}))
+ // Buildbucket
+ r.GET("/buildbucket/:bucket/builders/:builder", basemw, settings.Wrap(buildbucket.Builder{}))
hinoka 2016/07/08 23:26:05 Is there anything you expect to see from a bucket
nodir 2016/07/09 00:00:49 yeah, see comment description
+
// Buildbot
r.GET("/buildbot/:master/:builder/:build", basemw, settings.Wrap(buildbot.Build{}))
r.GET("/buildbot/:master/:builder/", basemw, settings.Wrap(buildbot.Builder{}))

Powered by Google App Engine
This is Rietveld 408576698