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

Issue 2033513002: recipes: Switch from 3 ways for requesting clobber builds to 1 (Closed)

Created:
4 years, 6 months ago by Nico
Modified:
4 years, 6 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/chromium/tools/build@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

recipes: Switch from 3 ways for requesting clobber builds to 1 Some bots applied the clobber config, some set force_clobber when calling compile(), and some set clobber: true on the bot. Move to the first, and remove compile()'s force_clobber parameter and make it look only at the first signal. The motivation is that once this is done in a unified way, clobber can be moved to a separate step that runs before runhooks and generate_buidl_files instead of during compile – then clobbering doesn't have to be careful to not delete ninja files, isolate files, and other things that are generated by runhooks and generate_build_files. No intended behavior change. BUG=574557 Committed: https://chromium.googlesource.com/chromium/tools/build/+/b55273d810342bb785b961f614247ae9d4c4e631

Patch Set 1 #

Patch Set 2 : hm #

Patch Set 3 : hm #

Patch Set 4 : . #

Patch Set 5 : works? #

Total comments: 2

Patch Set 6 : 1 actually #

Patch Set 7 : shorter #

Patch Set 8 : presubmit #

Patch Set 9 : presubmit2 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -88 lines) Patch
M scripts/slave/recipe_modules/chromium/api.py View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/config.py View 1 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_modules/pgo/api.py View 1 chunk +1 line, -2 lines 0 comments Download
M scripts/slave/recipe_modules/pgo/example.py View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -27 lines 1 comment Download
M scripts/slave/recipes/chromium_gn_upload.py View 4 chunks +4 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium_pgo.py View 1 2 3 4 5 6 7 8 3 chunks +34 lines, -48 lines 0 comments Download
D scripts/slave/recipes/chromium_pgo.expected/full_tryserver_chromium_win_win_pgo.json View 1 2 3 4 4 chunks +13 lines, -2 lines 0 comments Download
M scripts/slave/recipes/swarming/deterministic_build.py View 1 2 3 4 chunks +4 lines, -2 lines 0 comments Download
M scripts/slave/recipes/win_analyze.py View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
Nico
sebmarchand: pgo stuff dpranke: rest https://codereview.chromium.org/2033513002/diff/80001/scripts/slave/recipe_modules/pgo/example.py File scripts/slave/recipe_modules/pgo/example.py (right): https://codereview.chromium.org/2033513002/diff/80001/scripts/slave/recipe_modules/pgo/example.py#newcode46 scripts/slave/recipe_modules/pgo/example.py:46: buildername, bot_config = api.chromium.configure_bot(TEST_BUILDERS, ...
4 years, 6 months ago (2016-06-01 23:36:55 UTC) #4
Nico
actually, I removed self.m.properties.get('clobber') from compile() as well. It didn't change any recipe expectations. (Do ...
4 years, 6 months ago (2016-06-01 23:43:34 UTC) #6
Sébastien Marchand
lgtm, I think that recipe_roller will automatically update the internal test expectations if needed (the ...
4 years, 6 months ago (2016-06-02 01:44:30 UTC) #7
Dirk Pranke
lgtm. cc'ing phajdan in case he's curious. https://codereview.chromium.org/2033513002/diff/160001/scripts/slave/recipe_modules/pgo/example.py File scripts/slave/recipe_modules/pgo/example.py (right): https://codereview.chromium.org/2033513002/diff/160001/scripts/slave/recipe_modules/pgo/example.py#newcode51 scripts/slave/recipe_modules/pgo/example.py:51: for buildername ...
4 years, 6 months ago (2016-06-02 01:49:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2033513002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2033513002/160001
4 years, 6 months ago (2016-06-02 02:40:48 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 02:46:23 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/tools/build/+/b55273d810342bb785b9...

Powered by Google App Engine
This is Rietveld 408576698