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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf_fyi.py

Issue 1928783004: Extend chromium_tests trigger to work across masters. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: REbase Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from . import steps 5 from . import steps
6 6
7 7
8 RESULTS_URL = 'https://chromeperf.appspot.com' 8 RESULTS_URL = 'https://chromeperf.appspot.com'
9 9
10 10
11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits): 11 def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits,
12 parent_master=None):
12 SPEC['builders'][name] = { 13 SPEC['builders'][name] = {
13 'disable_tests': True, 14 'disable_tests': True,
14 'bot_type': 'tester', 15 'bot_type': 'tester',
15 'chromium_config_kwargs': { 16 'chromium_config_kwargs': {
16 'BUILD_CONFIG': 'Release', 17 'BUILD_CONFIG': 'Release',
17 'TARGET_BITS': target_bits, 18 'TARGET_BITS': target_bits,
18 }, 19 },
19 'parent_buildername': parent_builder, 20 'parent_buildername': parent_builder,
20 'chromium_config': 'chromium_official', 21 'chromium_config': 'chromium_official',
21 'gclient_config': 'perf', 22 'gclient_config': 'perf',
22 'testing': { 23 'testing': {
23 'platform': platform, 24 'platform': platform,
24 }, 25 },
25 'perf-id': perf_id, 26 'perf-id': perf_id,
26 'results-url': RESULTS_URL, 27 'results-url': RESULTS_URL,
27 'tests': [ 28 'tests': [
28 steps.DynamicPerfTests(perf_id, platform, target_bits, 29 steps.DynamicPerfTests(perf_id, platform, target_bits,
29 shard_index=0, num_host_shards=1), 30 shard_index=0, num_host_shards=1),
30 ], 31 ],
31 } 32 }
33 if parent_master:
34 SPEC['builders'][name]['parent_mastername'] = parent_master
32 35
33 36
34 SPEC = { 37 SPEC = {
35 'settings': { 38 'settings': {
36 'build_gs_bucket': 'chrome-perf', 39 'build_gs_bucket': 'chrome-perf',
37 }, 40 },
38 'builders': { 41 'builders': {
39 'Win x64 FYI Builder': { 42 'Win x64 FYI Builder': {
40 'disable_tests': True, 43 'disable_tests': True,
41 'chromium_config': 'chromium_official', 44 'chromium_config': 'chromium_official',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 steps.SizesStep(RESULTS_URL, 'win-clang-builder') 77 steps.SizesStep(RESULTS_URL, 'win-clang-builder')
75 }, 78 },
76 'chromium_apply_config': ['chromium_perf_fyi'], 79 'chromium_apply_config': ['chromium_perf_fyi'],
77 }, 80 },
78 }, 81 },
79 } 82 }
80 83
81 _AddBotSpec( 84 _AddBotSpec(
82 name='Win 7 Intel GPU Perf (Xeon)', 85 name='Win 7 Intel GPU Perf (Xeon)',
83 platform='win', 86 platform='win',
84 parent_builder='Win x64 FYI Builder', 87 parent_builder='Win x64 Builder',
85 perf_id='chromium-rel-win7-gpu-intel', 88 perf_id='chromium-rel-win7-gpu-intel',
86 target_bits=64) 89 target_bits=64,
90 parent_master='chromium.perf')
87 91
88 _AddBotSpec( 92 _AddBotSpec(
89 name='Win Clang Perf', 93 name='Win Clang Perf',
90 platform='win', 94 platform='win',
91 parent_builder='Win Clang Builder', 95 parent_builder='Win Clang Builder',
92 perf_id='chromium-win-clang', 96 perf_id='chromium-win-clang',
93 target_bits=32) 97 target_bits=32)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698