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

Issue 1881823002: Support references to args files in MB. (Closed)

Created:
4 years, 8 months ago by Dirk Pranke
Modified:
4 years, 8 months ago
Reviewers:
perezju, Jess, brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@mb_write_args_file
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support references to args files in MB. Eventually we want most of the MB implementation to go away; in particular, we probably want the bots to pick up their GN configurations from args files, rather than from configs in the mb_config.pyl file. This CL adds support for specifying a given args file for a bot in the master/builder configs directly, so you can specify "masters": {"master": {"builder": "//foo/bar/baz.gn"}}. When MB runs, it'll create an args.gn in the build directory that contains the line 'import("//foo/bar/baz.gn")', which will ensure the args are kept in sync. R=brettw@chromium.org, jessicag@chromium.org, perezju@chromium.org BUG=602528 Committed: https://crrev.com/9dd5e25ac7e13a059c68e71b8a22955d952c23a3 Cr-Commit-Position: refs/heads/master@{#387234}

Patch Set 1 #

Total comments: 4

Patch Set 2 : merge to #387207 #

Patch Set 3 : fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -29 lines) Patch
A build/args/bots/official.desktop/blimp-engine.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/mb/mb.py View 1 2 3 chunks +22 lines, -7 lines 0 comments Download
M tools/mb/mb_config.pyl View 1 3 chunks +1 line, -21 lines 0 comments Download
M tools/mb/mb_unittest.py View 4 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
Dirk Pranke
Please take a look; I think this is roughly how I want things to work. ...
4 years, 8 months ago (2016-04-12 03:11:01 UTC) #1
perezju
non-owner, nor really experienced with the inner workings of mb; but from a user point ...
4 years, 8 months ago (2016-04-12 10:40:53 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1881823002/diff/1/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/1881823002/diff/1/tools/mb/mb.py#newcode318 tools/mb/mb.py:318: all_configs[config] = master On 2016/04/12 10:40:53, perezju wrote: > ...
4 years, 8 months ago (2016-04-12 15:15:45 UTC) #3
Dirk Pranke
4 years, 8 months ago (2016-04-12 18:08:27 UTC) #4
brettw
https://codereview.chromium.org/1881823002/diff/1/build/args/bots/official.desktop/blimp-engine.gn File build/args/bots/official.desktop/blimp-engine.gn (right): https://codereview.chromium.org/1881823002/diff/1/build/args/bots/official.desktop/blimp-engine.gn#newcode2 build/args/bots/official.desktop/blimp-engine.gn:2: is_debug = true I'd expect a bot generically named ...
4 years, 8 months ago (2016-04-12 21:52:13 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1881823002/diff/1/build/args/bots/official.desktop/blimp-engine.gn File build/args/bots/official.desktop/blimp-engine.gn (right): https://codereview.chromium.org/1881823002/diff/1/build/args/bots/official.desktop/blimp-engine.gn#newcode2 build/args/bots/official.desktop/blimp-engine.gn:2: is_debug = true On 2016/04/12 21:52:13, brettw wrote: > ...
4 years, 8 months ago (2016-04-12 21:58:33 UTC) #6
brettw
Hmm, weird. LGTM
4 years, 8 months ago (2016-04-12 21:59:12 UTC) #7
Jess
lgtm
4 years, 8 months ago (2016-04-13 17:48:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881823002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881823002/40001
4 years, 8 months ago (2016-04-14 02:07:12 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-14 04:23:19 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 04:25:06 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9dd5e25ac7e13a059c68e71b8a22955d952c23a3
Cr-Commit-Position: refs/heads/master@{#387234}

Powered by Google App Engine
This is Rietveld 408576698