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

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: 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
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, 150 b_win_deterministic_build,
M-A Ruel 2015/06/04 20:56:08 Remove these
Sébastien Marchand 2015/06/04 21:16:29 Done.
174 b_win_clang_deterministic_build, 151 b_win_clang_deterministic_build,
175 b_linux_deterministic_build, 152 b_linux_deterministic_build,
176 b_mac_deterministic_build, 153 b_mac_deterministic_build,
177 b_android_deterministic_build, 154 b_android_deterministic_build,
178 ] 155 ]
179 156
180 # Associate the slaves to the builders. The configuration is in slaves.cfg. 157 # Associate the slaves to the builders. The configuration is in slaves.cfg.
181 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm') 158 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumSwarm')
182 for builder in c['builders']: 159 for builder in c['builders']:
183 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) 160 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 sendToInterestedUsers=False, 203 sendToInterestedUsers=False,
227 extraRecipients=[ 204 extraRecipients=[
228 'chrome-troopers+swarming@google.com', 205 'chrome-troopers+swarming@google.com',
229 ])) 206 ]))
230 207
231 208
232 ####### PROJECT IDENTITY 209 ####### PROJECT IDENTITY
233 210
234 c['projectName'] = ActiveMaster.project_name 211 c['projectName'] = ActiveMaster.project_name
235 c['projectURL'] = config.Master.project_url 212 c['projectURL'] = config.Master.project_url
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698