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

Side by Side Diff: infra/bots/recipes/swarm_trigger.py

Issue 2197643002: perf: Upload results to gs://skia-perf, not gs://chromium-skia-gm. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # Recipe module for Skia Swarming trigger. 6 # Recipe module for Skia Swarming trigger.
7 7
8 8
9 import json 9 import json
10 10
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 'gsutil', 'gsutil') 412 'gsutil', 'gsutil')
413 upload_args = [api.properties['buildername'], api.properties['buildnumber'], 413 upload_args = [api.properties['buildername'], api.properties['buildnumber'],
414 perf_data_dir, got_revision, gsutil_path] 414 perf_data_dir, got_revision, gsutil_path]
415 if is_trybot: 415 if is_trybot:
416 upload_args.append(api.properties['issue']) 416 upload_args.append(api.properties['issue'])
417 api.python( 417 api.python(
418 'Upload perf results', 418 'Upload perf results',
419 script=api.skia.resource('upload_bench_results.py'), 419 script=api.skia.resource('upload_bench_results.py'),
420 args=upload_args, 420 args=upload_args,
421 cwd=api.path['checkout'], 421 cwd=api.path['checkout'],
422 env=api.skia.gsutil_env('chromium-skia-gm.boto'),
423 infra_step=True) 422 infra_step=True)
424 423
425 424
426 def test_steps_trigger(api, builder_spec, got_revision, infrabots_dir, 425 def test_steps_trigger(api, builder_spec, got_revision, infrabots_dir,
427 extra_hashes, cipd_packages): 426 extra_hashes, cipd_packages):
428 """Trigger DM via Swarming.""" 427 """Trigger DM via Swarming."""
429 expiration, hard_timeout, io_timeout = get_timeouts( 428 expiration, hard_timeout, io_timeout = get_timeouts(
430 builder_spec['builder_cfg']) 429 builder_spec['builder_cfg'])
431 return trigger_task( 430 return trigger_task(
432 api, 431 api,
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 test += api.path.exists(*paths) 708 test += api.path.exists(*paths)
710 709
711 return test 710 return test
712 711
713 712
714 def GenTests(api): 713 def GenTests(api):
715 for mastername, slaves in TEST_BUILDERS.iteritems(): 714 for mastername, slaves in TEST_BUILDERS.iteritems():
716 for slavename, builders_by_slave in slaves.iteritems(): 715 for slavename, builders_by_slave in slaves.iteritems():
717 for builder in builders_by_slave: 716 for builder in builders_by_slave:
718 yield test_for_bot(api, builder, mastername, slavename) 717 yield test_for_bot(api, builder, mastername, slavename)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698