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

Issue 2263323002: Apply gerrit ref if it is a Gerrit patch (Closed)

Created:
4 years, 4 months ago by rmistry
Modified:
4 years, 4 months ago
Reviewers:
borenet
CC:
reviews_skia.org, stephana
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Apply gerrit ref if it is a Gerrit patch. Also: * Pass through a new property 'patch_storage' to DM/Nanobench/Coverage. This will be used by the different frameworks to figure out if it is Rietveld or Gerrit issue. * Calculate issue and patchset for Gerrit patches similar to Rietveld. BUG=skia:5627 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2263323002 Committed: https://skia.googlesource.com/skia/+/3f1c9c0a7227d4ea45c39eb1e596538bb483f65a

Patch Set 1 : Initial upload #

Patch Set 2 : Test in swarm_trigger #

Patch Set 3 : Test in swarm_perf #

Patch Set 4 : Test in swarm_test #

Patch Set 5 : Test in swarm_compile #

Patch Set 6 : Add event.change.number #

Patch Set 7 : Align #

Total comments: 1

Patch Set 8 : Use issue and patchset for DM/Nanobench #

Patch Set 9 : Cleanup #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -76 lines) Patch
M infra/bots/recipe_modules/core/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
M infra/bots/recipe_modules/core/api.py View 1 chunk +3 lines, -0 lines 0 comments Download
M infra/bots/recipe_modules/vars/api.py View 1 2 3 4 5 6 7 1 chunk +7 lines, -4 lines 0 comments Download
M infra/bots/recipes/swarm_compile.py View 1 2 3 4 5 2 chunks +21 lines, -1 line 0 comments Download
A + infra/bots/recipes/swarm_compile.expected/recipe_with_gerrit_patch.json View 1 2 3 4 5 chunks +35 lines, -15 lines 0 comments Download
M infra/bots/recipes/swarm_perf.py View 1 2 3 4 5 6 7 2 chunks +21 lines, -0 lines 0 comments Download
M infra/bots/recipes/swarm_perf.expected/Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M infra/bots/recipes/swarm_perf.expected/big_issue_number.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + infra/bots/recipes/swarm_perf.expected/recipe_with_gerrit_patch.json View 1 2 3 4 5 6 7 6 chunks +39 lines, -5 lines 0 comments Download
M infra/bots/recipes/swarm_test.py View 1 2 3 4 5 6 7 2 chunks +23 lines, -2 lines 0 comments Download
M infra/bots/recipes/swarm_test.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M infra/bots/recipes/swarm_test.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M infra/bots/recipes/swarm_test.expected/big_issue_number.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json View 1 2 3 4 5 6 7 4 chunks +29 lines, -25 lines 0 comments Download
M infra/bots/recipes/swarm_trigger.py View 1 2 3 4 5 6 7 8 7 chunks +41 lines, -8 lines 3 comments Download
A + infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json View 1 2 3 4 5 6 7 8 10 chunks +23 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
rmistry
I did try out directly using bot_update.ensure_checkout but the diff was too scary for me ...
4 years, 4 months ago (2016-08-23 13:45:11 UTC) #9
rmistry
https://codereview.chromium.org/2263323002/diff/240001/infra/bots/recipes/swarm_test.py File infra/bots/recipes/swarm_test.py (right): https://codereview.chromium.org/2263323002/diff/240001/infra/bots/recipes/swarm_test.py#newcode438 infra/bots/recipes/swarm_test.py:438: 'event.change.number', api.vars.gerrit_issue, Actually I do not think this is ...
4 years, 4 months ago (2016-08-23 14:00:41 UTC) #10
rmistry
Fixed things. This should be ready for review now.
4 years, 4 months ago (2016-08-23 16:18:17 UTC) #12
borenet
LGTM https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py File infra/bots/recipes/swarm_trigger.py (right): https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py#newcode484 infra/bots/recipes/swarm_trigger.py:484: upload_args.append(get_issue_num(api)) I'm just realizing that it's weird we ...
4 years, 4 months ago (2016-08-23 18:45:33 UTC) #13
rmistry
https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py File infra/bots/recipes/swarm_trigger.py (right): https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py#newcode484 infra/bots/recipes/swarm_trigger.py:484: upload_args.append(get_issue_num(api)) On 2016/08/23 18:45:33, borenet wrote: > I'm just ...
4 years, 4 months ago (2016-08-23 19:04:37 UTC) #14
rmistry
On 2016/08/23 19:04:37, rmistry wrote: > https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py > File infra/bots/recipes/swarm_trigger.py (right): > > https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py#newcode484 > ...
4 years, 4 months ago (2016-08-23 19:05:26 UTC) #15
borenet
https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py File infra/bots/recipes/swarm_trigger.py (right): https://codereview.chromium.org/2263323002/diff/280001/infra/bots/recipes/swarm_trigger.py#newcode484 infra/bots/recipes/swarm_trigger.py:484: upload_args.append(get_issue_num(api)) On 2016/08/23 19:04:37, rmistry wrote: > On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 19:06:29 UTC) #16
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/2263323002/280001
4 years, 4 months ago (2016-08-24 11:31:37 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 12:07:09 UTC) #20
Message was sent while issue was closed.
Committed patchset #9 (id:280001) as
https://skia.googlesource.com/skia/+/3f1c9c0a7227d4ea45c39eb1e596538bb483f65a

Powered by Google App Engine
This is Rietveld 408576698