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

Side by Side Diff: masters/master.tryserver.chromium.mac/slaves.cfg

Issue 1737763002: Reshuffle ios slave machines (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Hoping it'll be good this time. Created 4 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 # Copyright 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # See master.experimental/slaves.cfg for documentation. 7 # See master.experimental/slaves.cfg for documentation.
8 8
9 def mac(): 9 def mac():
10 cq_slaves = ( 10 cq_slaves = (
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 'bits': '64', 82 'bits': '64',
83 'pool': 'mac_10_10', 83 'pool': 'mac_10_10',
84 } for slave in ['build%d-m4' % i for i in xrange(158, 167)] + 84 } for slave in ['build%d-m4' % i for i in xrange(158, 167)] +
85 ['build%d-m4' % i for i in xrange(179, 190)] 85 ['build%d-m4' % i for i in xrange(179, 190)]
86 ) 86 )
87 87
88 return out 88 return out
89 89
90 90
91 def ios(): 91 def ios():
92 cq_builders = [ 92 # Split by dbg/rel because it splits the load evenly.
93 cq_builders_dbg = [
93 'ios_dbg_simulator', 94 'ios_dbg_simulator',
94 'ios_dbg_simulator_gn', 95 'ios_dbg_simulator_gn',
95 'ios_dbg_simulator_ninja', 96 'ios_dbg_simulator_ninja',
97 ]
98 cq_builders_rel = [
96 'ios_rel_device', 99 'ios_rel_device',
97 'ios_rel_device_gn', 100 'ios_rel_device_gn',
98 'ios_rel_device_ninja', 101 'ios_rel_device_ninja',
99 ] 102 ]
100 103
101 # Skip 82. http://crbug.com/395099. 104 # Skip 82. http://crbug.com/395099.
102 cq_slaves = ['build%d-a4' % i for i in range(79, 82) + range(83, 99)] + [ 105 # 9 + 1 builders for dbg
Sergey Berezin 2016/02/25 19:17:38 Please check these numbers against the Capacity co
pgervais 2016/02/25 19:49:09 Without looking I think it's unnecessary because a
103 'build%d-m4' % i for i in [21, 73]] 106 cq_slaves_dbg = (['build%d-a4' % i for i in range(79, 82) + range(83, 89)] +
104 cq_slaves.extend(['vm%s-m4' % i for i in xrange(190, 191)]) 107 ['build21-m4'])
105 cq_slaves.extend(['vm%s-m4' % i for i in xrange(671, 678)]) 108 # 10 + 1 builders for rel
106 cq_slaves.extend(['vm%i-m4' % i for i in xrange(898, 902)]) 109 cq_slaves_rel = (['build%d-a4' % i for i in range(89, 99)] +
107 cq_slaves.extend(['vm%i-m4' % i for i in xrange(1069, 1081)]) 110 ['build73-m4'])
108 111
109 compile_slaves = [ 112 # 12 slaves each
113 cq_slaves_dbg.extend(['vm%s-m4' % i for i in xrange(190, 191)])
114 cq_slaves_dbg.extend(['vm%s-m4' % i for i in xrange(671, 678)])
115 cq_slaves_dbg.extend(['vm%i-m4' % i for i in xrange(898, 902)])
116 cq_slaves_rel.extend(['vm%i-m4' % i for i in xrange(1069, 1081)])
117
118 compile_slaves_dbg = [
110 { 119 {
111 'master': 'TryServerChromiumMac', 120 'master': 'TryServerChromiumMac',
112 'builder': cq_builders, 121 'builder': cq_builders_dbg,
113 'hostname': slave, 122 'hostname': slave,
114 'preferred_builder': cq_builders[i % len(cq_builders)], 123 'preferred_builder': cq_builders_dbg[i % len(cq_builders_dbg)],
115 'os': 'mac', 124 'os': 'mac',
116 'version': '10.10', 125 'version': '10.10',
117 'pool': 'ios_cq', 126 'pool': 'ios_cq',
Sergey Berezin 2016/02/25 19:17:38 s/ios_cq/ios_cq_dbg/
pgervais 2016/02/25 19:49:09 Done.
118 } for slave in cq_slaves] 127 } for slave in cq_slaves_dbg]
128
129 compile_slaves_rel = [
130 {
131 'master': 'TryServerChromiumMac',
132 'builder': cq_builders_rel,
133 'hostname': slave,
134 'preferred_builder': cq_builders_rel[i % len(cq_builders_rel)],
135 'os': 'mac',
136 'version': '10.10',
137 'pool': 'ios_cq',
Sergey Berezin 2016/02/25 19:17:38 s/ios_cq/ios_cq_rel/
pgervais 2016/02/25 19:49:09 Done.
138 } for slave in cq_slaves_rel]
119 139
120 # TODO(lliabraa): Add test_slaves once we're actually running iOS tests on 140 # TODO(lliabraa): Add test_slaves once we're actually running iOS tests on
121 # the bots. 141 # the bots.
122 142
123 return compile_slaves 143 return compile_slaves_dbg + compile_slaves_rel
124 144
125 145
126 slaves = mac() + ios() 146 slaves = mac() + ios()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698