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

Side by Side Diff: masters/master.chromium.swarm/master.cfg

Issue 1147043007: Promote deterministic build CI to real CI (tree closer, except for the Clang builder) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: revert the recipe change. Created 5 years, 6 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.chromium.mac/slaves.cfg ('k') | masters/master.chromium.swarm/slaves.cfg » ('j') | 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 3
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 from buildbot.scheduler import Scheduler 8 from buildbot.scheduler import Scheduler
9 from buildbot.schedulers import timed 9 from buildbot.schedulers import timed
10 from buildbot.status import mail 10 from buildbot.status import mail
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 c['schedulers'] = [s_chromium_swarm, s_heartbeat] 63 c['schedulers'] = [s_chromium_swarm, s_heartbeat]
64 64
65 65
66 # ---------------------------------------------------------------------------- 66 # ----------------------------------------------------------------------------
67 # BUILDER DEFINITIONS 67 # BUILDER DEFINITIONS
68 68
69 def RecipeBasedFactory(config): 69 def RecipeBasedFactory(config):
70 return annotator_factory.AnnotatorFactory().BaseFactory( 70 return annotator_factory.AnnotatorFactory().BaseFactory(
71 'swarming/canary', factory_properties={'configuration': config}) 71 'swarming/canary', factory_properties={'configuration': config})
72 72
73 def DeterministicBuilderFactory(platform):
74 return {
75 'name': '%s deterministic build' % platform,
76 # Work around an issue with NaCl build.
77 'slavebuilddir': 'chr',
78 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
79 'swarming/deterministic_build',
80 factory_properties = {
81 'configuration': 'Release',
82 }),
83 # Auto-reboot:
84 # - On windows to try to clear up TEMP fill up issues.
85 # - On OSX due to fork: Resource temporarily unavailable
86 'auto_reboot': True,
87 'category': 'deterministic',
88 }
89
90 b_heartbeat = { 73 b_heartbeat = {
91 'name': 'Heartbeat', 74 'name': 'Heartbeat',
92 'builddir': 'heartbeat', 75 'builddir': 'heartbeat',
93 'factory': annotator_factory.AnnotatorFactory().BaseFactory( 76 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
94 'swarming/heartbeat'), 77 'swarming/heartbeat'),
95 'auto_reboot': False, 78 'auto_reboot': False,
96 'category': 'swarming', 79 'category': 'swarming',
97 } 80 }
98 81
99 b_heartbeat_canary = { 82 b_heartbeat_canary = {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 131 }
149 132
150 b_chromium_mac_swarm_dbg = { 133 b_chromium_mac_swarm_dbg = {
151 'name': 'Mac Swarm Tests (dbg)', 134 'name': 'Mac Swarm Tests (dbg)',
152 'builddir': 'chromium-mac-swarm-dbg', 135 'builddir': 'chromium-mac-swarm-dbg',
153 'factory': RecipeBasedFactory('Debug'), 136 'factory': RecipeBasedFactory('Debug'),
154 'auto_reboot': False, 137 'auto_reboot': False,
155 'category': 'swarming', 138 'category': 'swarming',
156 } 139 }
157 140
158 b_win_deterministic_build = DeterministicBuilderFactory('Windows')
159 b_win_clang_deterministic_build = DeterministicBuilderFactory('Windows Clang')
160 b_linux_deterministic_build = DeterministicBuilderFactory('Linux')
161 b_mac_deterministic_build = DeterministicBuilderFactory('Mac')
162 b_android_deterministic_build = DeterministicBuilderFactory('Android')
163
164 c['builders'] = [ 141 c['builders'] = [
165 b_heartbeat, 142 b_heartbeat,
166 b_heartbeat_canary, 143 b_heartbeat_canary,
167 b_chromium_linux_swarm, 144 b_chromium_linux_swarm,
168 b_chromium_linux_swarm_dbg, 145 b_chromium_linux_swarm_dbg,
169 b_chromium_win_swarm, 146 b_chromium_win_swarm,
170 b_chromium_win_swarm_dbg, 147 b_chromium_win_swarm_dbg,
171 b_chromium_mac_swarm, 148 b_chromium_mac_swarm,
172 b_chromium_mac_swarm_dbg, 149 b_chromium_mac_swarm_dbg,
173 b_win_deterministic_build,
174 b_win_clang_deterministic_build,
175 b_linux_deterministic_build,
176 b_mac_deterministic_build,
177 b_android_deterministic_build,
178 ] 150 ]
179 151
180 # Associate the slaves to the builders. The configuration is in slaves.cfg. 152 # Associate the slaves to the builders. The configuration is in slaves.cfg.
181 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm') 153 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm')
182 for builder in c['builders']: 154 for builder in c['builders']:
183 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) 155 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
184 156
185 157
186 ####### BUILDSLAVES 158 ####### BUILDSLAVES
187 159
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 sendToInterestedUsers=False, 198 sendToInterestedUsers=False,
227 extraRecipients=[ 199 extraRecipients=[
228 'chrome-troopers+swarming@google.com', 200 'chrome-troopers+swarming@google.com',
229 ])) 201 ]))
230 202
231 203
232 ####### PROJECT IDENTITY 204 ####### PROJECT IDENTITY
233 205
234 c['projectName'] = ActiveMaster.project_name 206 c['projectName'] = ActiveMaster.project_name
235 c['projectURL'] = config.Master.project_url 207 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « masters/master.chromium.mac/slaves.cfg ('k') | masters/master.chromium.swarm/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698