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

Side by Side Diff: masters/master.client.webrtc/master_android_cfg.py

Issue 2395143002: WebRTC: Move Android bots with devices to the perf waterfall. (Closed)
Patch Set: Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 buildbot.schedulers.basic import SingleBranchScheduler 5 from buildbot.schedulers.basic import SingleBranchScheduler
6 6
7 from master.factory import remote_run_factory 7 from master.factory import remote_run_factory
8 8
9 import master_site_config 9 import master_site_config
10 ActiveMaster = master_site_config.WebRTC 10 ActiveMaster = master_site_config.WebRTC
11 11
12 12
13 def m_remote_run(recipe, **kwargs): 13 def m_remote_run(recipe, **kwargs):
14 return remote_run_factory.RemoteRunFactory( 14 return remote_run_factory.RemoteRunFactory(
15 active_master=ActiveMaster, 15 active_master=ActiveMaster,
16 repository='https://chromium.googlesource.com/chromium/tools/build.git', 16 repository='https://chromium.googlesource.com/chromium/tools/build.git',
17 recipe=recipe, 17 recipe=recipe,
18 factory_properties={'path_config': 'kitchen'}, 18 factory_properties={'path_config': 'kitchen'},
19 **kwargs) 19 **kwargs)
20 20
21 21
22 def Update(c): 22 def Update(c):
23 c['schedulers'].extend([ 23 c['schedulers'].extend([
24 SingleBranchScheduler(name='webrtc_android_scheduler', 24 SingleBranchScheduler(name='webrtc_android_scheduler',
25 branch='master', 25 branch='master',
26 treeStableTimer=30, 26 treeStableTimer=30,
27 builderNames=[ 27 builderNames=[
28 'Android32 Builder',
29 'Android32 Builder (dbg)',
30 'Android32 Builder x86', 28 'Android32 Builder x86',
31 'Android32 Builder x86 (dbg)', 29 'Android32 Builder x86 (dbg)',
32 'Android32 Builder MIPS (dbg)', 30 'Android32 Builder MIPS (dbg)',
33 'Android32 Clang (dbg)', 31 'Android32 Clang (dbg)',
34 'Android64 Builder',
35 'Android64 Builder (dbg)',
36 'Android64 Builder x64 (dbg)', 32 'Android64 Builder x64 (dbg)',
37 'Android32 GYP', 33 'Android32 GYP',
38 'Android32 GYP (dbg)', 34 'Android32 GYP (dbg)',
39 ]), 35 ]),
40 ]) 36 ])
41 37
42 # 'slavebuilddir' below is used to reduce the number of checkouts since some 38 # 'slavebuilddir' below is used to reduce the number of checkouts since some
43 # of the builders are pooled over multiple slave machines. 39 # of the builders are pooled over multiple slave machines.
44 specs = [ 40 specs = [
45 {'name': 'Android32 Builder', 'slavebuilddir': 'android_arm32'},
46 {'name': 'Android32 Builder (dbg)', 'slavebuilddir': 'android_arm32'},
47 {'name': 'Android32 Builder x86', 'slavebuilddir': 'android_x86'}, 41 {'name': 'Android32 Builder x86', 'slavebuilddir': 'android_x86'},
48 {'name': 'Android32 Builder x86 (dbg)', 'slavebuilddir': 'android_x86'}, 42 {'name': 'Android32 Builder x86 (dbg)', 'slavebuilddir': 'android_x86'},
49 {'name': 'Android32 Builder MIPS (dbg)', 'slavebuilddir': 'android_mips'}, 43 {'name': 'Android32 Builder MIPS (dbg)', 'slavebuilddir': 'android_mips'},
50 {'name': 'Android32 Clang (dbg)', 'slavebuilddir': 'android_clang'}, 44 {'name': 'Android32 Clang (dbg)', 'slavebuilddir': 'android_clang'},
51 {'name': 'Android64 Builder', 'slavebuilddir': 'android_arm64'},
52 {'name': 'Android64 Builder (dbg)', 'slavebuilddir': 'android_arm64'},
53 {'name': 'Android64 Builder x64 (dbg)', 'slavebuilddir': 'android_x64'}, 45 {'name': 'Android64 Builder x64 (dbg)', 'slavebuilddir': 'android_x64'},
54 {'name': 'Android32 GYP', 'slavebuilddir': 'android_gyp'}, 46 {'name': 'Android32 GYP', 'slavebuilddir': 'android_gyp'},
55 {'name': 'Android32 GYP (dbg)', 'slavebuilddir': 'android_gyp'}, 47 {'name': 'Android32 GYP (dbg)', 'slavebuilddir': 'android_gyp'},
56 {'name': 'Android32 Tests (L Nexus5)(dbg)'},
57 {'name': 'Android32 Tests (L Nexus7.2)(dbg)'},
58 { 48 {
59 'name': 'Android32 Tests (M Nexus5X)(dbg)', 49 'name': 'Android32 Tests (M Nexus5X)(dbg)',
kjellander_chromium 2016/10/07 07:07:15 I suggest we remove 'Tests' from the name now that
ehmaldonado_chromium 2016/10/07 08:26:30 Ok. Let's do that in another CL :)
kjellander_chromium 2016/10/07 12:27:40 I realize I wasn't very clear: I meant I want the
60 'slavebuilddir': 'android_arm32', 50 'slavebuilddir': 'android_arm32',
61 }, 51 },
62 {'name': 'Android32 Tests (L Nexus5)'},
63 {'name': 'Android32 Tests (L Nexus7.2)'},
64 { 52 {
65 'name': 'Android32 Tests (M Nexus5X)', 53 'name': 'Android32 Tests (M Nexus5X)',
66 'slavebuilddir': 'android_arm32', 54 'slavebuilddir': 'android_arm32',
67 }, 55 },
68 {'name': 'Android64 Tests (L Nexus9)'},
69 { 56 {
70 'name': 'Android64 Tests (M Nexus5X)(dbg)', 57 'name': 'Android64 Tests (M Nexus5X)(dbg)',
71 'slavebuilddir': 'android_arm64', 58 'slavebuilddir': 'android_arm64',
72 }, 59 },
73 { 60 {
74 'name': 'Android64 Tests (M Nexus5X)', 61 'name': 'Android64 Tests (M Nexus5X)',
75 'slavebuilddir': 'android_arm32', 62 'slavebuilddir': 'android_arm64',
76 }, 63 },
77 ] 64 ]
78 65
79 c['builders'].extend([ 66 c['builders'].extend([
80 { 67 {
81 'name': spec['name'], 68 'name': spec['name'],
82 'factory': m_remote_run('webrtc/standalone'), 69 'factory': m_remote_run('webrtc/standalone'),
83 'notify_on_missing': True, 70 'notify_on_missing': True,
84 'category': 'android', 71 'category': 'android',
85 'slavebuilddir': spec.get('slavebuilddir', 'android'), 72 'slavebuilddir': spec.get('slavebuilddir', 'android'),
86 } for spec in specs 73 } for spec in specs
87 ]) 74 ])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698