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

Side by Side Diff: masters/master.chromiumos/slaves.cfg

Issue 1978723002: CrOS: New Builder for chromiumos.chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Add to master config too. 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 | Annotate | Revision Log
« no previous file with comments | « masters/master.chromiumos/slave_pool.json ('k') | 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 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 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 import chromiumos_board_config 5 import chromiumos_board_config
6 6
7 from common.cros_chromite import ChromiteTarget 7 from common.cros_chromite import ChromiteTarget
8 from common.cros_chromite import SlaveType 8 from common.cros_chromite import SlaveType
9 9
10 # Use the SlaveAlloctor declared in 'board_config'. 10 # Use the SlaveAlloctor declared in 'board_config'.
11 sa = chromiumos_board_config.slave_allocator 11 sa = chromiumos_board_config.slave_allocator
12 sa.LoadState(enforce=False) 12 sa.LoadState(enforce=False)
13 13
14 def shared(slave_type): 14 def shared(slave_type):
15 return '%s_shared' % (slave_type,) 15 return '%s_shared' % (slave_type,)
16 16
17 # Baremetal slaves 17 # Baremetal slaves
18 sa.AddPool(SlaveType.BAREMETAL, *('build%s-m2' % (n,) for n in set([ 18 sa.AddPool(SlaveType.BAREMETAL, *('build%s-m2' % (n,) for n in set([
19 85, 86, 87, 91, 92, 112, 118, 141, 162, 174, 182, 19 85, 86, 87, 91, 92, 112, 141, 162, 174, 182, 203, 263, 323, 326,
20 203, 263, 323, 326,
21 ]) - set([ 20 ]) - set([
22 91, # crbug.com/600599 21 # Decommissioned slaves (please include bug so we can re-include when Fixed).
23 ]))) 22 ])))
24 23
25 # GCE slaves 24 # GCE slaves
26 sa.AddPool(SlaveType.GCE, *('cros%s-c2' % (n,) for n in ( 25 sa.AddPool(SlaveType.GCE, *('cros%s-c2' % (n,) for n in (
27 199, 26 199,
28 ))) 27 )))
29 28
30 # Baremetal shared slave pool (e.g., build123-m2) 29 # Baremetal shared slave pool (e.g., build123-m2)
31 sa.AddPool(shared(SlaveType.BAREMETAL), *('build%s-m2' % (n,) for n in ( 30 sa.AddPool(shared(SlaveType.BAREMETAL), *('build%s-m2' % (n,) for n in set([
32 84, 94 31 84, 94
33 ))) 32 ]) - set([
33 # Decommissioned slaves (please include bug so we can re-include when Fixed).
34 ])))
34 35
35 for board_config in chromiumos_board_config.builder_configs.itervalues(): 36 for board_config in chromiumos_board_config.builder_configs.itervalues():
36 name = board_config.config.name 37 name = board_config.config.name
37 if board_config.config.category in ( 38 if board_config.config.category in (
38 ChromiteTarget.REFRESH_PACKAGES, 39 ChromiteTarget.REFRESH_PACKAGES,
39 ChromiteTarget.ASAN, 40 ChromiteTarget.ASAN,
40 ): 41 ):
41 sa.Join( 42 sa.Join(
42 name, 43 name,
43 sa.Alloc( 44 sa.Alloc(
(...skipping 17 matching lines...) Expand all
61 for c in config_names], 62 for c in config_names],
62 'hostname': str(hostname), 63 'hostname': str(hostname),
63 'os': 'linux', 64 'os': 'linux',
64 'version': 'precise', 65 'version': 'precise',
65 } 66 }
66 67
67 slaves = [] 68 slaves = []
68 slave_map = sa.GetSlaveMap() 69 slave_map = sa.GetSlaveMap()
69 for hostname, entry in slave_map.entries.iteritems(): 70 for hostname, entry in slave_map.entries.iteritems():
70 slaves.append(GenSlave(hostname, entry.keys)) 71 slaves.append(GenSlave(hostname, entry.keys))
OLDNEW
« no previous file with comments | « masters/master.chromiumos/slave_pool.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698