OLD | NEW |
1 # vim: ft=python: | 1 # vim: ft=python: |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 from buildbot.changes.filter import ChangeFilter | 6 from buildbot.changes.filter import ChangeFilter |
7 from buildbot.scheduler import Dependent | 7 from buildbot.scheduler import Dependent |
8 from buildbot.scheduler import Nightly | 8 from buildbot.scheduler import Nightly |
9 from buildbot.scheduler import Periodic | 9 from buildbot.scheduler import Periodic |
10 from buildbot.scheduler import Scheduler | 10 from buildbot.scheduler import Scheduler |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 ####### SCHEDULERS | 59 ####### SCHEDULERS |
60 | 60 |
61 ## configure the Schedulers | 61 ## configure the Schedulers |
62 | 62 |
63 # Main scheduler for all changes in trunk. | 63 # Main scheduler for all changes in trunk. |
64 s_chromium = Scheduler( | 64 s_chromium = Scheduler( |
65 name='chromium', | 65 name='chromium', |
66 treeStableTimer=60, | 66 treeStableTimer=60, |
67 change_filter=ChangeFilter(project='chromium', branch='master'), | 67 change_filter=ChangeFilter(project='chromium', branch='master'), |
68 builderNames=['Blimp Linux (dbg)', | 68 builderNames=['Chromium Windows Analyze', |
69 'Chromium Windows Analyze', | |
70 # The bots need a short name to work around crbug.com/399990. | 69 # The bots need a short name to work around crbug.com/399990. |
71 'CrWinGoma', | 70 'CrWinGoma', |
72 'CrWinGoma(dll)', # not (shared) cause crbug.com/399990 | 71 'CrWinGoma(dll)', # not (shared) cause crbug.com/399990 |
73 'CrWin7Goma', | 72 'CrWin7Goma', |
74 'CrWin7Goma(dll)', # not (shared) cause crbug.com/399990 | 73 'CrWin7Goma(dll)', # not (shared) cause crbug.com/399990 |
75 'CrWin7Goma(dbg)', | 74 'CrWin7Goma(dbg)', |
76 'CrWin7Goma(clbr)', # not (clobber) cause crbug.com/399990 | 75 'CrWin7Goma(clbr)', # not (clobber) cause crbug.com/399990 |
77 'CrWinClangGoma', | 76 'CrWinClangGoma', |
78 'CrWinClang', | 77 'CrWinClang', |
79 'CrWinClang(dbg)', | 78 'CrWinClang(dbg)', |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 m_annotator = annotator_factory.AnnotatorFactory() | 386 m_annotator = annotator_factory.AnnotatorFactory() |
388 | 387 |
389 def m_remote_run(recipe, **kwargs): | 388 def m_remote_run(recipe, **kwargs): |
390 return remote_run_factory.RemoteRunFactory( | 389 return remote_run_factory.RemoteRunFactory( |
391 active_master=ActiveMaster, | 390 active_master=ActiveMaster, |
392 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 391 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
393 recipe=recipe, | 392 recipe=recipe, |
394 factory_properties={'path_config': 'kitchen'}, | 393 factory_properties={'path_config': 'kitchen'}, |
395 **kwargs) | 394 **kwargs) |
396 | 395 |
397 b_blimp_linux = { | |
398 'name': 'Blimp Linux (dbg)', | |
399 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'), | |
400 'category': 'linux', | |
401 } | |
402 | |
403 b_chromium_win_analyze = {'name': 'Chromium Windows Analyze', | 396 b_chromium_win_analyze = {'name': 'Chromium Windows Analyze', |
404 'builddir': 'Chromium_Windows_Analyze', | 397 'builddir': 'Chromium_Windows_Analyze', |
405 'factory': f_win_analyze, | 398 'factory': f_win_analyze, |
406 'auto_reboot': False, | 399 'auto_reboot': False, |
407 } | 400 } |
408 | 401 |
409 b_chromium_win_pgo_builder = { | 402 b_chromium_win_pgo_builder = { |
410 'name': 'Chromium Win PGO Builder', | 403 'name': 'Chromium Win PGO Builder', |
411 'builddir': 'chromium-win-pgo-builder', | 404 'builddir': 'chromium-win-pgo-builder', |
412 'factory': f_chromium_win_pgo_builder, | 405 'factory': f_chromium_win_pgo_builder, |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1139 b_earlgrey_ios = { | 1132 b_earlgrey_ios = { |
1140 'name': 'EarlGreyiOS', | 1133 'name': 'EarlGreyiOS', |
1141 'factory': annotator_factory.AnnotatorFactory().BaseFactory( | 1134 'factory': annotator_factory.AnnotatorFactory().BaseFactory( |
1142 'ios/unified_builder_tester' | 1135 'ios/unified_builder_tester' |
1143 ), | 1136 ), |
1144 'category': 'ealrgrey', | 1137 'category': 'ealrgrey', |
1145 'auto_reboot': True, | 1138 'auto_reboot': True, |
1146 } | 1139 } |
1147 | 1140 |
1148 c['builders'] = [ | 1141 c['builders'] = [ |
1149 # Blimp | |
1150 b_blimp_linux, | |
1151 | |
1152 # Windows release | 1142 # Windows release |
1153 b_chromium_win_goma, | 1143 b_chromium_win_goma, |
1154 b_chromium_win_goma_shared, | 1144 b_chromium_win_goma_shared, |
1155 b_chromium_win7_goma, | 1145 b_chromium_win7_goma, |
1156 b_chromium_win7_goma_shared, | 1146 b_chromium_win7_goma_shared, |
1157 b_chromium_win7_goma_dbg, | 1147 b_chromium_win7_goma_dbg, |
1158 b_chromium_win7_goma_clobber, | 1148 b_chromium_win7_goma_clobber, |
1159 b_chromium_win_clang_goma, | 1149 b_chromium_win_clang_goma, |
1160 b_chromium_win_clang, | 1150 b_chromium_win_clang, |
1161 b_chromium_win_clang_tester, | 1151 b_chromium_win_clang_tester, |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 ])) | 1411 ])) |
1422 | 1412 |
1423 c['status'].append(MailNotifier( | 1413 c['status'].append(MailNotifier( |
1424 fromaddr=ActiveMaster.from_address, # Reply-To address | 1414 fromaddr=ActiveMaster.from_address, # Reply-To address |
1425 mode='failing', | 1415 mode='failing', |
1426 relayhost=config.Master.smtp, | 1416 relayhost=config.Master.smtp, |
1427 subject='Build failure on %(builder)s', | 1417 subject='Build failure on %(builder)s', |
1428 extraRecipients=['sbc@chromium.org'], | 1418 extraRecipients=['sbc@chromium.org'], |
1429 sendToInterestedUsers=False, | 1419 sendToInterestedUsers=False, |
1430 builders=['Linux ARM'])) | 1420 builders=['Linux ARM'])) |
OLD | NEW |