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

Unified Diff: scripts/slave/recipes/bisection/desktop_bisect.py

Issue 2104143003: Build delegation for CQ jobs (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase against master Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/bisection/desktop_bisect.py
diff --git a/scripts/slave/recipes/bisection/desktop_bisect.py b/scripts/slave/recipes/bisection/desktop_bisect.py
index 58204a9c091e41a9d8db866311e0f0b8fd2057f5..0ad4894fc1c9c947a1c139fd62e055bfcae281e1 100644
--- a/scripts/slave/recipes/bisection/desktop_bisect.py
+++ b/scripts/slave/recipes/bisection/desktop_bisect.py
@@ -230,26 +230,55 @@ results-without_patch
api.raw_io.stream_output('tools/run-perf-test.cfg')) +
api.override_step_data('load config', api.json.output(config_json)))
- yield (api.test('perf_cq_run_benchmark') + api.properties.tryserver(
- mastername='tryserver.chromium.perf',
- buildername='linux_perf_bisect') + api.properties(
- requester='commit-bot@chromium.org') + api.override_step_data(
- 'git diff to analyze patch',
- api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py')))
+ yield (api.test('perf_cq_run_benchmark') +
+ api.properties.tryserver(
+ mastername='tryserver.chromium.perf',
+ buildername='linux_perf_bisect',
+ patch_storage='rietveld',
+ patchset='20001',
+ issue='12345',
+ is_test=True,
+ rietveld="https://codereview.chromium.org") +
+ api.properties(requester='commit-bot@chromium.org') +
+ api.override_step_data(
+ 'git diff to analyze patch',
+ api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py')) +
+ api.step_data('buildbucket.put',
+ stdout=api.json.output(buildbucket_put_response)) +
+ api.step_data('buildbucket.get',
+ stdout=api.json.output(buildbucket_get_response)))
- yield (api.test('perf_cq_no_changes') + api.properties.tryserver(
- mastername='tryserver.chromium.perf',
- buildername='linux_perf_bisect') + api.properties(
- requester='commit-bot@chromium.org') + api.override_step_data(
+ yield (api.test('perf_cq_no_changes') +
+ api.properties.tryserver(
+ mastername='tryserver.chromium.perf',
+ buildername='linux_perf_bisect',
+ patch_storage='rietveld',
+ patchset='20001',
+ issue='12345',
+ is_test=True,
+ rietveld="https://codereview.chromium.org") +
+ api.properties(requester='commit-bot@chromium.org') +
+ api.override_step_data(
'git diff to analyze patch',
api.raw_io.stream_output('tools/no_benchmark_file')))
- yield (api.test('perf_cq_no_benchmark_to_run') + api.properties.tryserver(
- mastername='tryserver.chromium.perf',
- buildername='linux_perf_bisect') + api.properties(
- requester='commit-bot@chromium.org') + api.override_step_data(
+ yield (api.test('perf_cq_no_benchmark_to_run') +
+ api.properties.tryserver(
+ mastername='tryserver.chromium.perf',
+ buildername='linux_perf_bisect',
+ patch_storage='rietveld',
+ patchset='20001',
+ issue='12345',
+ is_test=True,
+ rietveld="https://codereview.chromium.org") +
+ api.properties(requester='commit-bot@chromium.org') +
+ api.override_step_data(
'git diff to analyze patch',
- api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py')))
+ api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py')) +
+ api.step_data('buildbucket.put',
+ stdout=api.json.output(buildbucket_put_response)) +
+ api.step_data('buildbucket.get',
+ stdout=api.json.output(buildbucket_get_response)))
bisect_config = {
'test_type': 'perf',

Powered by Google App Engine
This is Rietveld 408576698