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 import svnpoller | 6 from buildbot.changes import svnpoller |
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 # ---------------------------------------------------------------------------- | 321 # ---------------------------------------------------------------------------- |
322 # FACTORIES | 322 # FACTORIES |
323 | 323 |
324 F = chromium_factory.ChromiumFactory | 324 F = chromium_factory.ChromiumFactory |
325 def win(): return F('src/chrome', 'win32') | 325 def win(): return F('src/chrome', 'win32') |
326 def win_build(): return F('src/build', 'win32') | 326 def win_build(): return F('src/build', 'win32') |
327 def win_out(): return F('src/out', 'win32') | 327 def win_out(): return F('src/out', 'win32') |
328 def mac(): return F('src/xcodebuild', 'darwin') | 328 def mac(): return F('src/xcodebuild', 'darwin') |
329 def linux(**kwargs): return F('src/out', 'linux2', **kwargs) | 329 def linux(**kwargs): return F('src/out', 'linux2', **kwargs) |
330 def ios(): return F('src/xcodebuild', 'darwin') | 330 def ios(): return F('src/xcodebuild', 'darwin') |
331 def mac_out(): return F('src/out', 'darwin') | |
ghost stip (do not use)
2013/12/05 21:04:25
I don't think you need this?
| |
331 | 332 |
332 def codesearch(): | 333 def codesearch(): |
333 return F('src/build', 'linux2', pull_internal=False, full_checkout=True, | 334 return F('src/build', 'linux2', pull_internal=False, full_checkout=True, |
334 additional_svn_urls=[config.Master.trunk_url_tools]) | 335 additional_svn_urls=[config.Master.trunk_url_tools]) |
335 | 336 |
336 def codesearch_scheduler(): | 337 def codesearch_scheduler(): |
337 return F('src/build', 'linux2', pull_internal=False) | 338 return F('src/build', 'linux2', pull_internal=False) |
338 | 339 |
339 def chromeos(): | 340 def chromeos(): |
340 return F('src/build', 'linux2') | 341 return F('src/build', 'linux2') |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1311 factory_properties={ | 1312 factory_properties={ |
1312 'app_name': 'Chromium.app', | 1313 'app_name': 'Chromium.app', |
1313 'gclient_deps': 'ios', | 1314 'gclient_deps': 'ios', |
1314 'gclient_env': { | 1315 'gclient_env': { |
1315 'GYP_DEFINES': | 1316 'GYP_DEFINES': |
1316 'component=static_library OS=ios chromium_ios_signing=0', | 1317 'component=static_library OS=ios chromium_ios_signing=0', |
1317 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', | 1318 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', |
1318 }, | 1319 }, |
1319 }) | 1320 }) |
1320 | 1321 |
1322 f_chromium_rel_ninja_ios_device = ios().ChromiumFactory( | |
1323 clobber=True, | |
1324 # TODO(lliabraa): Need to upstream support for running tests on devices | |
1325 # before we can actually run any tests. | |
1326 tests=[], | |
1327 options = ['--build-tool=ninja'], | |
1328 factory_properties={ | |
1329 'app_name': 'Chromium.app', | |
1330 'gclient_deps': 'ios', | |
1331 'gclient_env': { | |
1332 'GYP_CROSSCOMPILE': '1', | |
1333 'GYP_GENERATORS': 'ninja', | |
1334 'GYP_DEFINES': 'component=static_library OS=ios clang=1', | |
1335 }, | |
1336 }) | |
1337 | |
1338 | |
1321 f_chromium_linux_goma_canary = linux().ChromiumFactory( | 1339 f_chromium_linux_goma_canary = linux().ChromiumFactory( |
1322 slave_type='BuilderTester', | 1340 slave_type='BuilderTester', |
1323 target='Release', | 1341 target='Release', |
1324 options=['--compiler=goma'], | 1342 options=['--compiler=goma'], |
1325 factory_properties={ | 1343 factory_properties={ |
1326 'goma_canary': True, | 1344 'goma_canary': True, |
1327 'slave_internal_url': config.Master.slave_internal_url, | 1345 'slave_internal_url': config.Master.slave_internal_url, |
1328 }, | 1346 }, |
1329 tests=['diagnose_goma']) | 1347 tests=['diagnose_goma']) |
1330 | 1348 |
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1955 'auto_reboot': False, | 1973 'auto_reboot': False, |
1956 } | 1974 } |
1957 | 1975 |
1958 b_chromium_rel_ios_device = { | 1976 b_chromium_rel_ios_device = { |
1959 'name': 'Chromium iOS Device', | 1977 'name': 'Chromium iOS Device', |
1960 'factory': f_chromium_rel_ios_device, | 1978 'factory': f_chromium_rel_ios_device, |
1961 'category': 'ios', | 1979 'category': 'ios', |
1962 'auto_reboot': False, | 1980 'auto_reboot': False, |
1963 } | 1981 } |
1964 | 1982 |
1983 b_chromium_rel_ninja_ios_device = { | |
1984 'name': 'Chromium iOS Device (ninja)', | |
1985 'factory': f_chromium_rel_ninja_ios_device, | |
1986 'category': 'ios', | |
1987 'auto_reboot': False, | |
1988 } | |
1989 | |
1965 b_chromium_rel_linux_browser_valgrind_builder = { | 1990 b_chromium_rel_linux_browser_valgrind_builder = { |
1966 'name': 'Chromium Linux Browser Builder (valgrind)', | 1991 'name': 'Chromium Linux Browser Builder (valgrind)', |
1967 'builddir': 'chromium-rel-linux-browser-valgrind-builder', | 1992 'builddir': 'chromium-rel-linux-browser-valgrind-builder', |
1968 'factory': f_chromium_rel_linux_browser_valgrind_builder, | 1993 'factory': f_chromium_rel_linux_browser_valgrind_builder, |
1969 'category': 'valgrind', | 1994 'category': 'valgrind', |
1970 'auto_reboot': False, | 1995 'auto_reboot': False, |
1971 } | 1996 } |
1972 | 1997 |
1973 b_chromium_windows_drmemory_builder = { | 1998 b_chromium_windows_drmemory_builder = { |
1974 'name': 'Windows Builder (DrMemory)', | 1999 'name': 'Windows Builder (DrMemory)', |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2240 b_chromium_dbg_android_chromedriver_tests, | 2265 b_chromium_dbg_android_chromedriver_tests, |
2241 b_chromium_dbg_android_asan_builder_tests, | 2266 b_chromium_dbg_android_asan_builder_tests, |
2242 b_chromium_dbg_android_shared_jb_nexus7, | 2267 b_chromium_dbg_android_shared_jb_nexus7, |
2243 | 2268 |
2244 # Android AOSP | 2269 # Android AOSP |
2245 b_chromium_dbg_android_aosp_builder, | 2270 b_chromium_dbg_android_aosp_builder, |
2246 | 2271 |
2247 # iOS | 2272 # iOS |
2248 b_chromium_dbg_ios_simulator, | 2273 b_chromium_dbg_ios_simulator, |
2249 b_chromium_rel_ios_device, | 2274 b_chromium_rel_ios_device, |
2275 b_chromium_rel_ninja_ios_device, | |
2250 | 2276 |
2251 # TSAN | 2277 # TSAN |
2252 b_chromium_dbg_win_tsan, | 2278 b_chromium_dbg_win_tsan, |
2253 b_chromium_rel_linux_tsan_rv, | 2279 b_chromium_rel_linux_tsan_rv, |
2254 b_chromium_rel_linux_tsan_v2, | 2280 b_chromium_rel_linux_tsan_v2, |
2255 | 2281 |
2256 # LSan | 2282 # LSan |
2257 b_chromium_rel_linux_lsan_asan, | 2283 b_chromium_rel_linux_lsan_asan, |
2258 | 2284 |
2259 # DrMemory | 2285 # DrMemory |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2323 config.Master.GetBotPassword()) | 2349 config.Master.GetBotPassword()) |
2324 | 2350 |
2325 # Make sure everything works together. | 2351 # Make sure everything works together. |
2326 master_utils.VerifySetup(c, slaves) | 2352 master_utils.VerifySetup(c, slaves) |
2327 | 2353 |
2328 | 2354 |
2329 ####### STATUS TARGETS | 2355 ####### STATUS TARGETS |
2330 | 2356 |
2331 # Buildbot master url: | 2357 # Buildbot master url: |
2332 # Must come before AutoSetupMaster(). | 2358 # Must come before AutoSetupMaster(). |
2333 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.fyi/' | 2359 c['buildbotURL'] = ActiveMaster.buildbot_url |
ghost stip (do not use)
2013/12/05 21:04:25
in general a good idea to make this change in a se
pgervais
2013/12/05 21:44:13
There are actually two of these modifications in t
| |
2334 | 2360 |
2335 # Adds common status and tools to this master. | 2361 # Adds common status and tools to this master. |
2336 master_utils.AutoSetupMaster(c, ActiveMaster, | 2362 master_utils.AutoSetupMaster(c, ActiveMaster, |
2337 public_html="../master.chromium/public_html", | 2363 public_html="../master.chromium/public_html", |
2338 templates=['../master.chromium/templates'], | 2364 templates=['../master.chromium/templates'], |
2339 enable_http_status_push=ActiveMaster.is_production_host) | 2365 enable_http_status_push=ActiveMaster.is_production_host) |
2340 | 2366 |
2341 # Add more. | 2367 # Add more. |
2342 | 2368 |
2343 if STATUS_PUSH: | 2369 if STATUS_PUSH: |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2404 | 2430 |
2405 c['status'].append(MailNotifier( | 2431 c['status'].append(MailNotifier( |
2406 fromaddr='ukai@chromium.org', # Reply-To address | 2432 fromaddr='ukai@chromium.org', # Reply-To address |
2407 mode='failing', | 2433 mode='failing', |
2408 categories=['goma'], | 2434 categories=['goma'], |
2409 relayhost=config.Master.smtp, | 2435 relayhost=config.Master.smtp, |
2410 subject='goma canary buildbot %(result)s in %(projectName)s ' | 2436 subject='goma canary buildbot %(result)s in %(projectName)s ' |
2411 'on %(builder)s', | 2437 'on %(builder)s', |
2412 extraRecipients=['goma+alert@google.com'], | 2438 extraRecipients=['goma+alert@google.com'], |
2413 sendToInterestedUsers=False)) | 2439 sendToInterestedUsers=False)) |
OLD | NEW |