OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2006-2009 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 # This is the buildmaster config file for the 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' bot. It must |
9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 'Google Chrome ChromeOS', | 146 'Google Chrome ChromeOS', |
147 'Chromium Embedded', | 147 'Chromium Embedded', |
148 'Chromium Linux (dbg-shlib)', | 148 'Chromium Linux (dbg-shlib)', |
149 'Chromium Linux Debug Clang', | 149 'Chromium Linux Debug Clang', |
150 'Chromium XP Memory', | 150 'Chromium XP Memory', |
151 'Chromium Linux Memory', | 151 'Chromium Linux Memory', |
152 'Chromium Mac Memory', | 152 'Chromium Mac Memory', |
153 'Chromium Linux GYP (make)', | 153 'Chromium Linux GYP (make)', |
154 'Chromium Linux GYP (scons)', | 154 'Chromium Linux GYP (scons)', |
155 'Chromium Mac GYP', | 155 'Chromium Mac GYP', |
| 156 'Chromium Mac Debug Clang', |
156 'Chromium XP GYP', | 157 'Chromium XP GYP', |
157 'Ubuntu Packaging GYP', | 158 'Ubuntu Packaging GYP', |
158 'Chrome Frame Perf', | 159 'Chrome Frame Perf', |
159 'Chromium XP (dbg shared)', | 160 'Chromium XP (dbg shared)', |
160 'Chromium Mac Sync', | 161 'Chromium Mac Sync', |
161 'Chromium XP Slavelastic', | 162 'Chromium XP Slavelastic', |
162 ]) | 163 ]) |
163 | 164 |
164 # Create the triggerable scheduler for the reliability tests. | 165 # Create the triggerable scheduler for the reliability tests. |
165 s_webkit_reliability = Triggerable(name='reliability', | 166 s_webkit_reliability = Triggerable(name='reliability', |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 slavelastic=True) | 917 slavelastic=True) |
917 | 918 |
918 f_cr_dbg_linux_clang = linux().ChromiumFactory( | 919 f_cr_dbg_linux_clang = linux().ChromiumFactory( |
919 'chromium-dbg-linux-clang', | 920 'chromium-dbg-linux-clang', |
920 target='Debug', | 921 target='Debug', |
921 options=['--build-tool=make', '--compiler=clang'], | 922 options=['--build-tool=make', '--compiler=clang'], |
922 tests=['base'], | 923 tests=['base'], |
923 factory_properties={ | 924 factory_properties={ |
924 'gclient_env': {'GYP_DEFINES':'clang=1 linux_use_tcmalloc=0'}}) | 925 'gclient_env': {'GYP_DEFINES':'clang=1 linux_use_tcmalloc=0'}}) |
925 | 926 |
| 927 f_cr_dbg_mac_clang = mac().ChromiumFactory( |
| 928 'chromium-dbg-mac-clang', |
| 929 target='Debug', |
| 930 options=[ |
| 931 '--compiler=clang', |
| 932 '--solution=chrome.xcodeproj', |
| 933 '--xcode-target=chrome', |
| 934 '--build-dir=src/chrome'], |
| 935 tests=[], # TODO(thakis): Get all test binaries to build & pass. |
| 936 factory_properties={ |
| 937 # TODO(thakis): Get NaCl to work. http://crbug.com/56933 |
| 938 'gclient_env': {'GYP_DEFINES': 'clang=1 disable_nacl=1'}}) |
| 939 |
| 940 |
926 | 941 |
927 # ---------------------------------------------------------------------------- | 942 # ---------------------------------------------------------------------------- |
928 # BUILDER DEFINITIONS | 943 # BUILDER DEFINITIONS |
929 | 944 |
930 slave_lock = locks.SlaveLock('one_per_slave_lock', maxCount=1) | 945 slave_lock = locks.SlaveLock('one_per_slave_lock', maxCount=1) |
931 | 946 |
932 # ---------------------------------------------------------------------------- | 947 # ---------------------------------------------------------------------------- |
933 # BUILDER DEFINITIONS | 948 # BUILDER DEFINITIONS |
934 | 949 |
935 # The 'builders' list defines the Builders. Each one is configured with a | 950 # The 'builders' list defines the Builders. Each one is configured with a |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 'builddir': 'chromium-rel-xp-sync', | 1008 'builddir': 'chromium-rel-xp-sync', |
994 'factory': f_chromium_rel_xp_sync, | 1009 'factory': f_chromium_rel_xp_sync, |
995 } | 1010 } |
996 | 1011 |
997 b_chromium_rel_mac_sync = { | 1012 b_chromium_rel_mac_sync = { |
998 'name': 'Chromium Mac Sync', | 1013 'name': 'Chromium Mac Sync', |
999 'builddir': 'chromium-rel-mac-sync', | 1014 'builddir': 'chromium-rel-mac-sync', |
1000 'factory': f_chromium_rel_mac_sync, | 1015 'factory': f_chromium_rel_mac_sync, |
1001 } | 1016 } |
1002 | 1017 |
| 1018 b_chromium_dbg_mac_clang = { |
| 1019 'name': 'Chromium Mac Debug Clang', |
| 1020 'factory': f_cr_dbg_mac_clang, |
| 1021 'category': 'clang', |
| 1022 } |
| 1023 |
1003 b_chromium_rel_vista64 = { | 1024 b_chromium_rel_vista64 = { |
1004 'name': 'Chromium Vista 64', | 1025 'name': 'Chromium Vista 64', |
1005 'builddir': 'chromium-rel-vista64', | 1026 'builddir': 'chromium-rel-vista64', |
1006 'factory': f_chromium_rel_vista, | 1027 'factory': f_chromium_rel_vista, |
1007 } | 1028 } |
1008 | 1029 |
1009 b_chromium_rel_win7 = { | 1030 b_chromium_rel_win7 = { |
1010 'name': 'Chromium Windows7', | 1031 'name': 'Chromium Windows7', |
1011 'builddir': 'chromium-rel-win7', | 1032 'builddir': 'chromium-rel-win7', |
1012 'factory': f_chromium_rel_win7, | 1033 'factory': f_chromium_rel_win7, |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 b_gyp_linux_scons, | 1428 b_gyp_linux_scons, |
1408 b_gyp_mac, | 1429 b_gyp_mac, |
1409 b_gyp_xp, | 1430 b_gyp_xp, |
1410 b_chromium_rel_xp_cef, | 1431 b_chromium_rel_xp_cef, |
1411 b_chromium_linux_targets, | 1432 b_chromium_linux_targets, |
1412 b_chromium_mac_targets, | 1433 b_chromium_mac_targets, |
1413 b_chromium_win_targets, | 1434 b_chromium_win_targets, |
1414 b_chromium_dbg_wine_valgrind_builder, | 1435 b_chromium_dbg_wine_valgrind_builder, |
1415 b_chromium_dbg_linux_wine_valgrind, | 1436 b_chromium_dbg_linux_wine_valgrind, |
1416 b_chromium_dbg_linux_clang, | 1437 b_chromium_dbg_linux_clang, |
| 1438 b_chromium_dbg_mac_clang, |
1417 ] | 1439 ] |
1418 | 1440 |
1419 # Associate the slaves to the manual builders. The configuration is in | 1441 # Associate the slaves to the manual builders. The configuration is in |
1420 # slaves.cfg. | 1442 # slaves.cfg. |
1421 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') | 1443 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') |
1422 for builder in c['builders']: | 1444 for builder in c['builders']: |
1423 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 1445 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
1424 | 1446 |
1425 | 1447 |
1426 ####### BUILDSLAVES | 1448 ####### BUILDSLAVES |
(...skipping 15 matching lines...) Expand all Loading... |
1442 | 1464 |
1443 # Add more. | 1465 # Add more. |
1444 | 1466 |
1445 if STATUS_PUSH: | 1467 if STATUS_PUSH: |
1446 from master.status_push import HttpStatusPush | 1468 from master.status_push import HttpStatusPush |
1447 c['status'].append(HttpStatusPush( | 1469 c['status'].append(HttpStatusPush( |
1448 'http://craebuild.appspot.com/status-listener')) | 1470 'http://craebuild.appspot.com/status-listener')) |
1449 | 1471 |
1450 if CLANG_NOTIFIER: | 1472 if CLANG_NOTIFIER: |
1451 # TODO(evanm): this doesn't seem to work, not sure why. | 1473 # TODO(evanm): this doesn't seem to work, not sure why. |
1452 c['status'].append(MailNotifier( | 1474 for recipients, builders in [ |
1453 fromaddr=ActiveMaster.from_address, | 1475 (['evan@chromium.org'], ['chromium-dbg-linux-clang']), |
1454 mode='failing', | 1476 (['thakis@chromium.org'], ['chromium-dbg-mac-clang']), |
1455 builders=['chromium-dbg-linux-clang'], | 1477 ]: |
1456 relayhost=config.Master.smtp, | 1478 c['status'].append(MailNotifier( |
1457 subject='clang buildbot %(result)s in %(projectName)s on %(builder)s, ' | 1479 fromaddr=ActiveMaster.from_address, |
1458 'revision %(revision)s', | 1480 mode='failing', |
1459 extraRecipients=['evan@chromium.org'], | 1481 builders=builders, |
1460 sendToInterestedUsers=False)) | 1482 relayhost=config.Master.smtp, |
| 1483 subject='clang buildbot %(result)s in %(projectName)s on %(builder)s, ' |
| 1484 'revision %(revision)s', |
| 1485 extraRecipients=recipients, |
| 1486 sendToInterestedUsers=False)) |
1461 | 1487 |
1462 | 1488 |
1463 ####### PROJECT IDENTITY | 1489 ####### PROJECT IDENTITY |
1464 | 1490 |
1465 # the 'projectName' string will be used to describe the project that this | 1491 # the 'projectName' string will be used to describe the project that this |
1466 # buildbot is working on. For example, it is used as the title of the | 1492 # buildbot is working on. For example, it is used as the title of the |
1467 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 1493 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
1468 # from buildbot HTML pages to your project's home page. | 1494 # from buildbot HTML pages to your project's home page. |
1469 | 1495 |
1470 c['projectName'] = ActiveMaster.project_name | 1496 c['projectName'] = ActiveMaster.project_name |
1471 c['projectURL'] = config.Master.project_url | 1497 c['projectURL'] = config.Master.project_url |
1472 | 1498 |
1473 # the 'buildbotURL' string should point to the location where the buildbot's | 1499 # the 'buildbotURL' string should point to the location where the buildbot's |
1474 # internal web server (usually the html.Waterfall page) is visible. This | 1500 # internal web server (usually the html.Waterfall page) is visible. This |
1475 # typically uses the port number set in the Waterfall 'status' entry, but | 1501 # typically uses the port number set in the Waterfall 'status' entry, but |
1476 # with an externally-visible host name which the buildbot cannot figure out | 1502 # with an externally-visible host name which the buildbot cannot figure out |
1477 # without some help. | 1503 # without some help. |
1478 | 1504 |
1479 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' | 1505 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' |
OLD | NEW |