New issue
Advanced search Search tips

Issue 613422 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 623372



Sign in to add a comment

Builder view for swarmbucket

Project Member Reported by no...@chromium.org, May 20 2016

Issue description

Implement builder view for swarmbucket.

A page at URL path
https://<mulo-host>/swarmbucket/prod/<bucket>/<builder>
should display builder view similar to buildbot with builds from buildbucket, which could be retrieved by executing
https://<buildbucket host>/_ah/api/buildbucket/v1/search?bucket=<bucket>&tag=builder%3A<builder>

 

Comment 1 by no...@chromium.org, May 20 2016

Labels: luci

Comment 2 by hinoka@chromium.org, Jun 27 2016

Labels: milo

Comment 3 by hinoka@chromium.org, Jun 27 2016

Labels: -milo luci-milo

Comment 4 by hinoka@chromium.org, Jun 27 2016

Owner: hinoka@chromium.org
Status: Assigned (was: Untriaged)

Comment 5 by hinoka@chromium.org, Jun 27 2016

Labels: -M-53 M-200

Comment 6 by hinoka@chromium.org, Jun 27 2016

Labels: M-627

Comment 7 by hinoka@chromium.org, Jun 27 2016

Labels: -M-200

Comment 8 by hinoka@chromium.org, Jun 27 2016

Labels: W-0627

Comment 9 by hinoka@chromium.org, Jun 29 2016

Owner: no...@chromium.org

Comment 10 by no...@chromium.org, Jun 29 2016

Status: Started (was: Assigned)
Blocking: 623372
Labels: -M-627 -W-0627 W-0704
Labels: W0711
Labels: -W-0704 -W0711 W-0711
Project Member

Comment 15 by bugdroid1@chromium.org, Jul 12 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/external/github.com/luci/luci-go.git/+/fcc9be2f55080a6e91fd728205342a744c62b2cf

commit fcc9be2f55080a6e91fd728205342a744c62b2cf
Author: nodir <nodir@chromium.org>
Date: Tue Jul 12 16:28:25 2016

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 

Review-Url: https://codereview.chromium.org/2134673003

[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/builder.go
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/builder_test.go
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/common.go
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit(Swarming).json
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/expectations/master.tryserver.infra/InfraPresubmit.json
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/html.go
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/properties.go
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/testdata/buildbucket/master.tryserver.infra/InfraPresubmit(Swarming).json
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/buildbucket/testdata/buildbucket/master.tryserver.infra/InfraPresubmit.json
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/expectations/bootstrap-buildbot.TestableBuilder-Basic_Test_no_builds.html
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/expectations/bootstrap-buildbot.TestableBuilder-Basic_Test_with_builds.html
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_no_builds.html
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/milo.go
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/static/buildbot/css/default.css
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/templates/bootstrap/pages/builder.html
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/templates/buildbot/pages/builder.html
[add] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/frontend/testdata/buildbucket
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/settings/funcs.go
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/cmd/milo/swarming/build.go
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/appengine/gaeauth/client/client.go
[modify] https://crrev.com/fcc9be2f55080a6e91fd728205342a744c62b2cf/common/clock/external.go

Comment 16 by no...@chromium.org, Jul 18 2016

Status: Fixed (was: Started)

Sign in to add a comment