| OLD | NEW |
| 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 # It has one job: define a dictionary named BuildmasterConfig. This | 8 # It has one job: define a dictionary named BuildmasterConfig. This |
| 9 # dictionary has a variety of keys to control different aspects of the | 9 # dictionary has a variety of keys to control different aspects of the |
| 10 # buildmaster. They are documented in docs/config.xhtml . | 10 # buildmaster. They are documented in docs/config.xhtml . |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 }, | 181 }, |
| 182 { | 182 { |
| 183 'name': 'v8-mac-release', | 183 'name': 'v8-mac-release', |
| 184 'factory_builder': annotator.BaseFactory('v8'), | 184 'factory_builder': annotator.BaseFactory('v8'), |
| 185 'category': category('3v8'), | 185 'category': category('3v8'), |
| 186 'platform': 'v8_vm', | 186 'platform': 'v8_vm', |
| 187 'arch': 'ia32', | 187 'arch': 'ia32', |
| 188 }, | 188 }, |
| 189 ] | 189 ] |
| 190 | 190 |
| 191 variants_dartium = [ | |
| 192 { | |
| 193 'name' : 'dartium-mac-debug' + postfix, | |
| 194 'category' : category('96dartium-debug'), | |
| 195 }, | |
| 196 { | |
| 197 'name' : 'dartium-lucid64-debug' + postfix, | |
| 198 'category' : category('96dartium-debug'), | |
| 199 }, | |
| 200 { | |
| 201 'name' : 'dartium-win-debug' + postfix, | |
| 202 'category' : category('96dartium-debug'), | |
| 203 }, | |
| 204 ] | |
| 205 | |
| 206 # Build and test Dart using recipes, rather than with annotated steps | 191 # Build and test Dart using recipes, rather than with annotated steps |
| 207 variants_dart_recipe = [] | 192 variants_dart_recipe = [] |
| 208 | 193 |
| 209 variants_dart_recipe.append({ | 194 variants_dart_recipe.append({ |
| 210 'name': 'dart-recipe' + postfix, | |
| 211 'category': category('1vm'), | |
| 212 'factory_builder': annotator.BaseFactory( | |
| 213 recipe='dart/dart'), | |
| 214 'platform': 'posix' + postfix, | |
| 215 'env': linux_env | |
| 216 }) | |
| 217 | |
| 218 variants_dart_recipe.append({ | |
| 219 'name': 'dart2js-win7-ie10chrome' + postfix, | 195 'name': 'dart2js-win7-ie10chrome' + postfix, |
| 220 'category': category('2dart2js'), | 196 'category': category('2dart2js'), |
| 221 'factory_builder': annotator.BaseFactory( | 197 'factory_builder': annotator.BaseFactory( |
| 222 recipe='dart/dart2js_nobuild'), | 198 recipe='dart/dart2js_nobuild'), |
| 223 'platform': 'windows' + postfix, | 199 'platform': 'windows' + postfix, |
| 224 'env': windows_env | 200 'env': windows_env |
| 225 }) | 201 }) |
| 226 | 202 |
| 227 variants_dart_recipe.append({ | 203 variants_dart_recipe.append({ |
| 228 'name': 'dart2js-linux-chromeff' + postfix, | 204 'name': 'dart2js-linux-chromeff' + postfix, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 237 |
| 262 variants_dart_recipe.append({ | 238 variants_dart_recipe.append({ |
| 263 'name': 'dart2js-mac10.11-safarimobilesim' + postfix, | 239 'name': 'dart2js-mac10.11-safarimobilesim' + postfix, |
| 264 'builddir': 'mobile' + postfix, | 240 'builddir': 'mobile' + postfix, |
| 265 'category': category('90safari'), | 241 'category': category('90safari'), |
| 266 'factory_builder': annotator.BaseFactory( | 242 'factory_builder': annotator.BaseFactory( |
| 267 recipe='dart/dart2js'), | 243 recipe='dart/dart2js'), |
| 268 'platform': 'posix' + postfix, | 244 'platform': 'posix' + postfix, |
| 269 }) | 245 }) |
| 270 | 246 |
| 271 ####### Dartium integration overrides, we only use the dartium builders there | |
| 272 if channel.name == 'integration': | 247 if channel.name == 'integration': |
| 273 variants = [] | 248 variants = [] |
| 274 variants_dart_recipe = [] | 249 variants_dart_recipe = [] |
| 275 | 250 |
| 276 ####### Factory setup | 251 ####### Factory setup |
| 277 | 252 |
| 278 utils.setup_factories(variants) | 253 utils.setup_factories(variants) |
| 279 utils.setup_dartium_factories(variants_dartium) | |
| 280 | 254 |
| 281 ####### Schedulers | 255 ####### Schedulers |
| 282 | 256 |
| 283 builder_names = utils.get_builder_names(variants) | 257 builder_names = utils.get_builder_names(variants) |
| 284 | 258 |
| 285 dartium_builder_names = utils.get_builder_names(variants_dartium) | |
| 286 dart_recipe_builder_names = (utils.get_builder_names(variants_dart_recipe)) | 259 dart_recipe_builder_names = (utils.get_builder_names(variants_dart_recipe)) |
| 287 | 260 |
| 288 # normal builders + editor builders + dartium builders | 261 # normal builders |
| 289 c['schedulers'].append(Scheduler( | 262 c['schedulers'].append(Scheduler( |
| 290 name='fyi-main' + postfix, | 263 name='fyi-main' + postfix, |
| 291 branch=channel.branch, | 264 branch=channel.branch, |
| 292 treeStableTimer=0, | 265 treeStableTimer=0, |
| 293 builderNames=(builder_names + dartium_builder_names + | 266 builderNames=(builder_names + dart_recipe_builder_names), |
| 294 dart_recipe_builder_names), | |
| 295 )) | 267 )) |
| 296 | 268 |
| 297 ####### Builders | 269 ####### Builders |
| 298 | 270 |
| 299 # Add non-dartium builders | |
| 300 for collection in [variants, variants_dart_recipe]: | 271 for collection in [variants, variants_dart_recipe]: |
| 301 for b in utils.get_builders_from_variants(collection, slaves, []): | 272 for b in utils.get_builders_from_variants(collection, slaves, []): |
| 302 c['builders'].append(b) | 273 c['builders'].append(b) |
| 303 | 274 |
| 304 # Add dartium builders | |
| 305 for collection in [variants_dartium]: | |
| 306 # Reboot VMs after every build | |
| 307 for b in utils.get_builders_from_variants(collection, slaves, [], | |
| 308 ActiveMaster.is_production_host): | |
| 309 c['builders'].append(b) | |
| 310 | |
| 311 # v8 | 275 # v8 |
| 312 if channel.name == 'be': | 276 if channel.name == 'be': |
| 313 # Add non-dartium builders | |
| 314 for collection in [variants_v8]: | 277 for collection in [variants_v8]: |
| 315 for b in utils.get_builders_from_variants(collection, slaves, []): | 278 for b in utils.get_builders_from_variants(collection, slaves, []): |
| 316 c['builders'].append(b) | 279 c['builders'].append(b) |
| 317 | 280 |
| 318 c['builders'] = [] | 281 c['builders'] = [] |
| 319 c['schedulers'] = [] | 282 c['schedulers'] = [] |
| 320 for channel in CHANNELS: | 283 for channel in CHANNELS: |
| 321 setup_channel(channel) | 284 if channel.name != 'integration': |
| 285 setup_channel(channel) |
| 322 | 286 |
| 323 ####### CHANGESOURCES | 287 ####### CHANGESOURCES |
| 324 | 288 |
| 325 c['change_source'] = [ | 289 c['change_source'] = [ |
| 326 utils.get_github_mirror_poller('dart-lang', | 290 utils.get_github_mirror_poller('dart-lang', |
| 327 'sdk', | 291 'sdk', |
| 328 branch='master', | 292 branch='master', |
| 329 master='fyi'), | 293 master='fyi'), |
| 330 utils.get_github_mirror_poller('dart-lang', | 294 utils.get_github_mirror_poller('dart-lang', |
| 331 'sdk', | 295 'sdk', |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 c['projectName'] = ActiveMaster.project_name | 368 c['projectName'] = ActiveMaster.project_name |
| 405 c['projectURL'] = config.Master.project_url | 369 c['projectURL'] = config.Master.project_url |
| 406 | 370 |
| 407 # the 'buildbotURL' string should point to the location where the buildbot's | 371 # the 'buildbotURL' string should point to the location where the buildbot's |
| 408 # internal web server (usually the html.Waterfall page) is visible. This | 372 # internal web server (usually the html.Waterfall page) is visible. This |
| 409 # typically uses the port number set in the Waterfall 'status' entry, but | 373 # typically uses the port number set in the Waterfall 'status' entry, but |
| 410 # with an externally-visible host name which the buildbot cannot figure out | 374 # with an externally-visible host name which the buildbot cannot figure out |
| 411 # without some help. | 375 # without some help. |
| 412 | 376 |
| 413 c['buildbotURL'] = ActiveMaster.buildbot_url | 377 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |