| 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', | 398 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 399 recipe=recipe, | 399 recipe=recipe, |
| 400 factory_properties={'path_config': 'kitchen'}, | 400 factory_properties={'path_config': 'kitchen'}, |
| 401 use_gitiles=True, | 401 use_gitiles=True, |
| 402 **kwargs) | 402 **kwargs) |
| 403 | 403 |
| 404 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium') | 404 f_chromium_mac_1010 = m_remote_run_chromium_src('chromium') |
| 405 | 405 |
| 406 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium') | 406 f_chromium_mac_1010_mac_views = m_remote_run_chromium_src('chromium') |
| 407 | 407 |
| 408 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium') | 408 f_chromium_mac_1011 = m_remote_run_chromium_src('chromium') |
| (...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1555 ])) | 1555 ])) |
| 1556 | 1556 |
| 1557 c['status'].append(MailNotifier( | 1557 c['status'].append(MailNotifier( |
| 1558 fromaddr=ActiveMaster.from_address, # Reply-To address | 1558 fromaddr=ActiveMaster.from_address, # Reply-To address |
| 1559 mode='failing', | 1559 mode='failing', |
| 1560 relayhost=config.Master.smtp, | 1560 relayhost=config.Master.smtp, |
| 1561 subject='Build failure on %(builder)s', | 1561 subject='Build failure on %(builder)s', |
| 1562 extraRecipients=['sbc@chromium.org'], | 1562 extraRecipients=['sbc@chromium.org'], |
| 1563 sendToInterestedUsers=False, | 1563 sendToInterestedUsers=False, |
| 1564 builders=['Linux ARM'])) | 1564 builders=['Linux ARM'])) |
| OLD | NEW |