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

Issue 2209583003: swarmbucket: refactor builder defaults (Closed)

Created:
4 years, 4 months ago by nodir
Modified:
4 years, 4 months ago
Reviewers:
Vadim Sh., borenet
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

swarmbucket: refactor builder defaults Replace common_* fields with one message builder_defaults of type Builder. Teach swarmbucket to merge builder configs. Next CL will allow a build to override a builder config using the same merging algorithm. R=vadimsh@chromium.org, borenet@google.com BUG= Committed: https://chromium.googlesource.com/infra/infra/+/dfd87124fa28c46081f367214e23d008204831a0

Patch Set 1 #

Patch Set 2 : swarmbucket: refactor builder defaults #

Total comments: 6

Patch Set 3 : deepcopy and subctx #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -129 lines) Patch
M appengine/cr-buildbucket/proto/project_config.proto View 4 chunks +12 lines, -4 lines 0 comments Download
M appengine/cr-buildbucket/proto/project_config_pb2.py View 8 chunks +24 lines, -16 lines 0 comments Download
M appengine/cr-buildbucket/swarming/swarming.py View 1 2 7 chunks +30 lines, -60 lines 0 comments Download
M appengine/cr-buildbucket/swarming/swarmingcfg.py View 1 2 4 chunks +129 lines, -37 lines 0 comments Download
M appengine/cr-buildbucket/swarming/test/swarmingcfg_test.py View 5 chunks +78 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 8 (3 generated)
nodir
PTAL Good test coverage. Deployed to cr-buildbucket-dev.appspot.com and updated personal config: https://chromium.googlesource.com/infra/experimental/+/refs/heads/infra/config/cr-buildbucket-dev.cfg#141 builder_defaults { swarming_tags: ...
4 years, 4 months ago (2016-08-03 20:40:33 UTC) #1
Vadim Sh.
lgtm but why? https://codereview.chromium.org/2209583003/diff/20001/appengine/cr-buildbucket/swarming/swarmingcfg.py File appengine/cr-buildbucket/swarming/swarmingcfg.py (right): https://codereview.chromium.org/2209583003/diff/20001/appengine/cr-buildbucket/swarming/swarmingcfg.py#newcode16 appengine/cr-buildbucket/swarming/swarmingcfg.py:16: """Clones a protobuf message.""" how does ...
4 years, 4 months ago (2016-08-03 20:58:12 UTC) #2
nodir
> why? next CL will allow to override builder config at the build level. Now ...
4 years, 4 months ago (2016-08-03 21:38:11 UTC) #3
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/2209583003/40001
4 years, 4 months ago (2016-08-03 21:38:25 UTC) #6
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 21:55:45 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/infra/infra/+/dfd87124fa28c46081f367214e23d...

Powered by Google App Engine
This is Rietveld 408576698