Chromium Code Reviews| 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.process.properties import WithProperties | 7 from buildbot.process.properties import WithProperties |
| 8 from buildbot.scheduler import Dependent | 8 from buildbot.scheduler import Dependent |
| 9 from buildbot.scheduler import Nightly | 9 from buildbot.scheduler import Nightly |
| 10 from buildbot.scheduler import Periodic | 10 from buildbot.scheduler import Periodic |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 388 | 388 |
| 389 revision_getter = master_utils.ConditionalProperty( | 389 revision_getter = master_utils.ConditionalProperty( |
| 390 lambda build: build.getProperty('revision'), | 390 lambda build: build.getProperty('revision'), |
| 391 WithProperties('%(revision)s'), | 391 WithProperties('%(revision)s'), |
| 392 'origin/master') | 392 'origin/master') |
| 393 | 393 |
| 394 def m_remote_run_chromium_src(recipe, **kwargs): | 394 def m_remote_run_chromium_src(recipe, **kwargs): |
| 395 kwargs.setdefault('revision', revision_getter) | 395 kwargs.setdefault('revision', revision_getter) |
| 396 return remote_run_factory.RemoteRunFactory( | 396 return remote_run_factory.RemoteRunFactory( |
| 397 active_master=ActiveMaster, | 397 active_master=ActiveMaster, |
| 398 repository='https://chromium.googlesource.com/chromium/src.git', | |
|
iannucci
2016/10/27 21:31:52
not sure this change is necessary?
martiniss
2016/10/27 22:45:37
Oops. That should not have been removed.
| |
| 399 recipe=recipe, | 398 recipe=recipe, |
| 400 factory_properties={'path_config': 'kitchen'}, | 399 factory_properties={'path_config': 'kitchen'}, |
| 401 use_gitiles=True, | 400 use_gitiles=True, |
| 402 **kwargs) | 401 **kwargs) |
| 403 | 402 |
| 404 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium') | 403 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium') |
| 405 | 404 |
| 406 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium') | 405 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium') |
| 407 | 406 |
| 408 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium') | 407 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium') |
| (...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1468 b_linux_deterministic_dbg_build, | 1467 b_linux_deterministic_dbg_build, |
| 1469 b_mac_deterministic_dbg_build, | 1468 b_mac_deterministic_dbg_build, |
| 1470 | 1469 |
| 1471 # Chromium DevTools | 1470 # Chromium DevTools |
| 1472 b_chromium_devtools_linux, | 1471 b_chromium_devtools_linux, |
| 1473 ] | 1472 ] |
| 1474 | 1473 |
| 1475 c['builders'].extend([ | 1474 c['builders'].extend([ |
| 1476 { | 1475 { |
| 1477 'name': 'Linux remote_run Builder', | 1476 'name': 'Linux remote_run Builder', |
| 1478 'factory': m_remote_run_chromium_src( | 1477 'factory': m_remote_run('chromium', timeout=2400, max_time=10800), |
| 1479 'chromium', timeout=2400, max_time=10800), | |
| 1480 'category': 'remote_run', | 1478 'category': 'remote_run', |
| 1481 'auto_reboot': True, | 1479 'auto_reboot': True, |
| 1482 }, | 1480 }, |
| 1483 { | 1481 { |
| 1484 'name': 'Linux remote_run Tester', | 1482 'name': 'Linux remote_run Tester', |
| 1485 'factory': m_remote_run_chromium_src('chromium'), | 1483 'factory': m_remote_run('chromium'), |
| 1486 'category': 'remote_run', | 1484 'category': 'remote_run', |
| 1487 'auto_reboot': True, | 1485 'auto_reboot': True, |
| 1488 }, | 1486 }, |
| 1489 ]) | 1487 ]) |
| 1490 | 1488 |
| 1491 # Associate the slaves to the manual builders. The configuration is in | 1489 # Associate the slaves to the manual builders. The configuration is in |
| 1492 # slaves.cfg. | 1490 # slaves.cfg. |
| 1493 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') | 1491 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI') |
| 1494 for builder in c['builders']: | 1492 for builder in c['builders']: |
| 1495 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) | 1493 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1555 ])) | 1553 ])) |
| 1556 | 1554 |
| 1557 c['status'].append(MailNotifier( | 1555 c['status'].append(MailNotifier( |
| 1558 fromaddr=ActiveMaster.from_address, # Reply-To address | 1556 fromaddr=ActiveMaster.from_address, # Reply-To address |
| 1559 mode='failing', | 1557 mode='failing', |
| 1560 relayhost=config.Master.smtp, | 1558 relayhost=config.Master.smtp, |
| 1561 subject='Build failure on %(builder)s', | 1559 subject='Build failure on %(builder)s', |
| 1562 extraRecipients=['sbc@chromium.org'], | 1560 extraRecipients=['sbc@chromium.org'], |
| 1563 sendToInterestedUsers=False, | 1561 sendToInterestedUsers=False, |
| 1564 builders=['Linux ARM'])) | 1562 builders=['Linux ARM'])) |
| OLD | NEW |