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

Issue 2374543006: Base flags on bootstrapped Chromite branch. (Closed)

Created:
4 years, 2 months ago by dnj
Modified:
4 years, 1 month ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Base flags on bootstrapped Chromite branch. Currently, Chromite flags are chosen based on the checked-out Chromite barnch. However, this can be overridden by the "--branch" parameter. Update the recipe to check for this parameter and, if present, base its flag choices off that branch instaed of the bootstrapping Chromite branch. BUG=chromium:650713 TEST=expectations Committed: https://chromium.googlesource.com/chromium/tools/build/+/fae60ba54c83abbbfbe84b5533f6a3e8f9b55178

Patch Set 1 #

Total comments: 8

Patch Set 2 : Handle alternative branch parameter. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -26 lines) Patch
M scripts/slave/recipe_modules/chromite/api.py View 4 chunks +6 lines, -8 lines 0 comments Download
M scripts/slave/recipe_modules/chromite/config.py View 1 6 chunks +31 lines, -6 lines 1 comment Download
M scripts/slave/recipes/cros/cbuildbot_tryjob.py View 1 2 chunks +43 lines, -8 lines 0 comments Download
A + scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json View 1 1 chunk +1 line, -2 lines 0 comments Download
A + scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
dnj
PTAL
4 years, 2 months ago (2016-09-27 18:11:38 UTC) #2
dnj
(ping, I still think this is a good change)
4 years, 2 months ago (2016-09-28 19:25:50 UTC) #3
bhthompson1
LGTM but nxia may be in a better position to really review.
4 years, 2 months ago (2016-09-28 19:41:07 UTC) #5
nxia1
https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py#newcode126 scripts/slave/recipe_modules/chromite/config.py:126: cgrp.cbb.extra_args = CBB_EXTRA_ARGS any reason for not combining this ...
4 years, 2 months ago (2016-09-28 21:45:31 UTC) #7
nxia1
https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py#newcode165 scripts/slave/recipe_modules/chromite/config.py:165: chromite_branch = c.cbb.extra_args[branch_flag_idx] and I'm confused why we can't ...
4 years, 2 months ago (2016-09-28 22:00:04 UTC) #8
nxia1
4 years, 2 months ago (2016-09-28 22:00:06 UTC) #9
dnj
https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py#newcode126 scripts/slave/recipe_modules/chromite/config.py:126: cgrp.cbb.extra_args = CBB_EXTRA_ARGS On 2016/09/28 21:45:31, nxia1 wrote: > ...
4 years, 2 months ago (2016-09-28 22:52:17 UTC) #10
nxia1
https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py#newcode165 scripts/slave/recipe_modules/chromite/config.py:165: chromite_branch = c.cbb.extra_args[branch_flag_idx] On 2016/09/28 22:52:16, dnj wrote: > ...
4 years, 2 months ago (2016-09-29 00:36:45 UTC) #11
nxia1
4 years, 2 months ago (2016-09-29 00:36:46 UTC) #12
nxia1
4 years, 2 months ago (2016-09-29 00:36:47 UTC) #13
nxia1
https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/1/scripts/slave/recipe_modules/chromite/config.py#newcode165 scripts/slave/recipe_modules/chromite/config.py:165: chromite_branch = c.cbb.extra_args[branch_flag_idx] On 2016/09/29 00:36:44, nxia1 wrote: > ...
4 years, 2 months ago (2016-09-29 00:37:53 UTC) #14
dnj
> > Look I didn't find the cbb_branch settings in tryserver and chromiumOS. > There's ...
4 years, 2 months ago (2016-09-29 00:43:18 UTC) #15
nxia1
On 2016/09/29 00:43:18, dnj wrote: > > > Look I didn't find the cbb_branch settings ...
4 years, 2 months ago (2016-09-29 01:02:33 UTC) #16
nxia1
lgtm
4 years, 2 months ago (2016-09-29 18:00:52 UTC) #17
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/2374543006/20001
4 years, 2 months ago (2016-09-29 19:36:24 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/tools/build/+/fae60ba54c83abbbfbe84b5533f6a3e8f9b55178
4 years, 2 months ago (2016-09-29 19:41:07 UTC) #22
nxia1
https://codereview.chromium.org/2374543006/diff/20001/scripts/slave/recipe_modules/chromite/config.py File scripts/slave/recipe_modules/chromite/config.py (right): https://codereview.chromium.org/2374543006/diff/20001/scripts/slave/recipe_modules/chromite/config.py#newcode161 scripts/slave/recipe_modules/chromite/config.py:161: chromite_branch = c.chromite_branch any reason we don't overwrite c.chromite_branch ...
4 years, 1 month ago (2016-10-31 21:56:55 UTC) #23
dnj
4 years, 1 month ago (2016-10-31 22:13:34 UTC) #24
Message was sent while issue was closed.
On 2016/10/31 21:56:55, nxia1 wrote:
>
https://codereview.chromium.org/2374543006/diff/20001/scripts/slave/recipe_mo...
> File scripts/slave/recipe_modules/chromite/config.py (right):
> 
>
https://codereview.chromium.org/2374543006/diff/20001/scripts/slave/recipe_mo...
> scripts/slave/recipe_modules/chromite/config.py:161: chromite_branch =
> c.chromite_branch
> any reason we don't overwrite c.chromite_branch with the branch we get from
> '--branch/-b'

Nothing that I can think of.

Powered by Google App Engine
This is Rietveld 408576698