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

Issue 2271453002: Milo: Internal buildbot masters support (Closed)

Created:
4 years, 4 months ago by Ryan Tseng
Modified:
4 years, 4 months ago
Reviewers:
Vadim Sh.
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: Internal buildbot masters support This CL finds all the places where the buildbot build or master entries are being fetched, and performs an ACL if the "Internal" flag on the build is set to see if the current user is part of the magic "buildbot-private" project. 404's are the errors of choice for internal buildbot builds. BUG=637375 Committed: https://github.com/luci/luci-go/commit/63a9cfa4f98f04ab34e84f38c5304945575e5975

Patch Set 1 #

Patch Set 2 : More places #

Total comments: 15

Patch Set 3 : Review #

Patch Set 4 : Small changes #

Total comments: 2

Patch Set 5 : nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -98 lines) Patch
M milo/appengine/buildbot/build.go View 1 2 3 4 7 chunks +38 lines, -72 lines 0 comments Download
M milo/appengine/buildbot/build_test.go View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M milo/appengine/buildbot/builder.go View 1 2 7 chunks +21 lines, -7 lines 0 comments Download
M milo/appengine/buildbot/master.go View 1 2 4 chunks +16 lines, -6 lines 0 comments Download
M milo/appengine/buildbot/pubsub.go View 4 chunks +15 lines, -7 lines 0 comments Download
M milo/appengine/buildbot/pubsub_test.go View 8 chunks +68 lines, -6 lines 0 comments Download
M milo/appengine/settings/acl.go View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
Ryan Tseng
ptal, this utilizes settings.IsAllowed() from the last CL
4 years, 4 months ago (2016-08-23 18:09:09 UTC) #10
Vadim Sh.
https://codereview.chromium.org/2271453002/diff/20001/milo/appengine/buildbot/build.go File milo/appengine/buildbot/build.go (right): https://codereview.chromium.org/2271453002/diff/20001/milo/appengine/buildbot/build.go#newcode32 milo/appengine/buildbot/build.go:32: // getBuild fetches a build from BuildBot. ... and ...
4 years, 4 months ago (2016-08-23 18:53:06 UTC) #13
Ryan Tseng
Also just did s/log/logging/g in the files, as a small refactoring. https://codereview.chromium.org/2271453002/diff/20001/milo/appengine/buildbot/build.go File milo/appengine/buildbot/build.go (right): ...
4 years, 4 months ago (2016-08-23 22:00:15 UTC) #16
Ryan Tseng
Small changes
4 years, 4 months ago (2016-08-23 22:01:50 UTC) #17
Vadim Sh.
lgtm with nit https://codereview.chromium.org/2271453002/diff/20001/milo/appengine/buildbot/pubsub.go File milo/appengine/buildbot/pubsub.go (right): https://codereview.chromium.org/2271453002/diff/20001/milo/appengine/buildbot/pubsub.go#newcode31 milo/appengine/buildbot/pubsub.go:31: publicSubName = "projects/luci-milo/subscriptions/buildbot-public" On 2016/08/23 22:00:15, ...
4 years, 4 months ago (2016-08-23 22:35:46 UTC) #22
Ryan Tseng
nit fix
4 years, 4 months ago (2016-08-24 21:06:28 UTC) #23
Ryan Tseng
https://codereview.chromium.org/2271453002/diff/60001/milo/appengine/buildbot/build.go File milo/appengine/buildbot/build.go (right): https://codereview.chromium.org/2271453002/diff/60001/milo/appengine/buildbot/build.go#newcode48 milo/appengine/buildbot/build.go:48: switch err { On 2016/08/23 22:35:46, Vadim Sh. wrote: ...
4 years, 4 months ago (2016-08-24 21:07:24 UTC) #27
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/2271453002/80001
4 years, 4 months ago (2016-08-24 21:07:39 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 21:13:34 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-go/commit/63a9cfa4f98f04ab34e84f38c5304945575e5975

Powered by Google App Engine
This is Rietveld 408576698