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

Issue 2134673003: milo: buildbucket builer view (Closed)

Created:
4 years, 5 months ago by nodir
Modified:
4 years, 5 months ago
Reviewers:
estaab, hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, andrew.wang, todd, tandrii+luci-go_chromium.org, M-A Ruel
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

milo: buildbucket builer view add /buildbucket/:bucket/builders/:builder handler that fetches builds from buildbucket and renders a builder page. For a each build: - try to retrieve buildbot build number or swarming task id for a nice URL label - try to retrieve Rietveld/Gerrit CL link from build properties Caveat: ATM not possible to retrieve got_revision from swarmbucket builds Also fix some minor bugs. R=hinoka@chromium.org BUG=613422 Committed: https://github.com/luci/luci-go/commit/fcc9be2f55080a6e91fd728205342a744c62b2cf

Patch Set 1 #

Patch Set 2 : rebase gofmt #

Patch Set 3 : apparently our bots cannot process a patch for a file that has spaces :( #

Total comments: 18

Patch Set 4 : review #

Patch Set 5 : remove /builders from path #

Patch Set 6 : rebased and regenerated expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1440 lines, -21 lines) Patch
A appengine/cmd/milo/buildbucket/builder.go View 1 2 3 1 chunk +278 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/builder_test.go View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/common.go View 1 2 3 1 chunk +125 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.json View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit(Swarming).json View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/html.go View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/properties.go View 1 chunk +72 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/testdata/buildbucket/master.tryserver.infra/InfraPresubmit.json View 1 2 1 chunk +210 lines, -0 lines 0 comments Download
A appengine/cmd/milo/buildbucket/testdata/buildbucket/master.tryserver.infra/InfraPresubmit(Swarming).json View 1 2 1 chunk +415 lines, -0 lines 0 comments Download
M appengine/cmd/milo/frontend/expectations/bootstrap-buildbot.TestableBuilder-Basic_Test_no_builds.html View 1 chunk +1 line, -1 line 0 comments Download
M appengine/cmd/milo/frontend/expectations/bootstrap-buildbot.TestableBuilder-Basic_Test_with_builds.html View 1 chunk +1 line, -1 line 0 comments Download
M appengine/cmd/milo/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_no_builds.html View 1 chunk +1 line, -1 line 0 comments Download
M appengine/cmd/milo/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html View 4 chunks +6 lines, -4 lines 0 comments Download
M appengine/cmd/milo/frontend/milo.go View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M appengine/cmd/milo/frontend/static/buildbot/css/default.css View 1 chunk +1 line, -1 line 0 comments Download
M appengine/cmd/milo/frontend/templates/bootstrap/pages/builder.html View 2 chunks +1 line, -3 lines 0 comments Download
M appengine/cmd/milo/frontend/templates/buildbot/pages/builder.html View 5 chunks +16 lines, -7 lines 0 comments Download
A appengine/cmd/milo/frontend/testdata/buildbucket View 1 chunk +1 line, -0 lines 0 comments Download
M appengine/cmd/milo/settings/funcs.go View 1 chunk +6 lines, -1 line 0 comments Download
M appengine/cmd/milo/swarming/build.go View 1 chunk +1 line, -2 lines 0 comments Download
M appengine/gaeauth/client/client.go View 2 chunks +2 lines, -0 lines 0 comments Download
M common/clock/external.go View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (23 generated)
nodir
PTAL Deployed to https://959-3dc1f53-tainted-nodir-dot-luci-milo.appspot.com For example: Infra Presubmit: https://959-3dc1f53-tainted-nodir-dot-luci-milo.appspot.com/buildbucket/master.tryserver.infra/builders/Infra%20Presubmit Infra Presubmit (Swarming): https://959-3dc1f53-tainted-nodir-dot-luci-milo.appspot.com/buildbucket/master.tryserver.infra/builders/Infra%20Presubmit%20(Swarming)
4 years, 5 months ago (2016-07-08 21:59:29 UTC) #4
nodir
forgot estaab
4 years, 5 months ago (2016-07-08 22:14:50 UTC) #15
hinoka
lgtm + suggestions https://codereview.chromium.org/2134673003/diff/40001/appengine/cmd/milo/buildbucket/builder.go File appengine/cmd/milo/buildbucket/builder.go (right): https://codereview.chromium.org/2134673003/diff/40001/appengine/cmd/milo/buildbucket/builder.go#newcode25 appengine/cmd/milo/buildbucket/builder.go:25: "github.com/luci/luci-go/common/logging" Rest of milo uses. log ...
4 years, 5 months ago (2016-07-08 23:26:05 UTC) #18
nodir
redeployed https://959-3dc1f53-tainted-nodir-dot-luci-milo.appspot.com https://codereview.chromium.org/2134673003/diff/40001/appengine/cmd/milo/buildbucket/builder.go File appengine/cmd/milo/buildbucket/builder.go (right): https://codereview.chromium.org/2134673003/diff/40001/appengine/cmd/milo/buildbucket/builder.go#newcode25 appengine/cmd/milo/buildbucket/builder.go:25: "github.com/luci/luci-go/common/logging" On 2016/07/08 23:26:05, hinoka wrote: > ...
4 years, 5 months ago (2016-07-09 00:00:49 UTC) #19
hinoka
Re: console/waterfall. The idea with consoles and waterfalls are that they can be protocol-agnostics. ie ...
4 years, 5 months ago (2016-07-09 00:04:20 UTC) #20
nodir
On 2016/07/09 00:04:20, hinoka wrote: > Re: console/waterfall. The idea with consoles and waterfalls are ...
4 years, 5 months ago (2016-07-09 00:07:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2134673003/100001
4 years, 5 months ago (2016-07-09 00:07:30 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Linux Precise 32 Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-go%20Linux%20Precise%2032%20Tester/builds/1373) ...
4 years, 5 months ago (2016-07-09 00:11:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2134673003/120001
4 years, 5 months ago (2016-07-12 16:13:28 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:120001) as https://github.com/luci/luci-go/commit/fcc9be2f55080a6e91fd728205342a744c62b2cf
4 years, 5 months ago (2016-07-12 16:28:28 UTC) #33
commit-bot: I haz the power
4 years, 5 months ago (2016-07-12 16:28:30 UTC) #34
Message was sent while issue was closed.
CQ bit was unchecked.

Powered by Google App Engine
This is Rietveld 408576698