| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 ActiveMaster = master_site_config.ChromiumFYI | 33 ActiveMaster = master_site_config.ChromiumFYI |
| 34 | 34 |
| 35 STATUS_PUSH = False | 35 STATUS_PUSH = False |
| 36 | 36 |
| 37 # This is the dictionary that the buildmaster pays attention to. We also use | 37 # This is the dictionary that the buildmaster pays attention to. We also use |
| 38 # a shorter alias to save typing. | 38 # a shorter alias to save typing. |
| 39 c = BuildmasterConfig = {} | 39 c = BuildmasterConfig = {} |
| 40 c['status'] = [] | 40 c['status'] = [] |
| 41 | 41 |
| 42 # Force merging of requests. |
| 43 c['mergeRequests'] = lambda *args, **kwargs: True |
| 44 |
| 42 config.DatabaseSetup(c) | 45 config.DatabaseSetup(c) |
| 43 | 46 |
| 44 ####### CHANGESOURCES | 47 ####### CHANGESOURCES |
| 45 | 48 |
| 46 # Polls config.Master.trunk_url for changes | 49 # Polls config.Master.trunk_url for changes |
| 47 chromium_repo_url = config.Master.git_server_url + '/chromium/src' | 50 chromium_repo_url = config.Master.git_server_url + '/chromium/src' |
| 48 trunk_poller = gitiles_poller.GitilesPoller(chromium_repo_url, | 51 trunk_poller = gitiles_poller.GitilesPoller(chromium_repo_url, |
| 49 project='chromium') | 52 project='chromium') |
| 50 | 53 |
| 51 c['change_source'] = [trunk_poller] | 54 c['change_source'] = [trunk_poller] |
| (...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1473 ])) | 1476 ])) |
| 1474 | 1477 |
| 1475 c['status'].append(MailNotifier( | 1478 c['status'].append(MailNotifier( |
| 1476 fromaddr=ActiveMaster.from_address, # Reply-To address | 1479 fromaddr=ActiveMaster.from_address, # Reply-To address |
| 1477 mode='failing', | 1480 mode='failing', |
| 1478 relayhost=config.Master.smtp, | 1481 relayhost=config.Master.smtp, |
| 1479 subject='Build failure on %(builder)s', | 1482 subject='Build failure on %(builder)s', |
| 1480 extraRecipients=['sbc@chromium.org'], | 1483 extraRecipients=['sbc@chromium.org'], |
| 1481 sendToInterestedUsers=False, | 1484 sendToInterestedUsers=False, |
| 1482 builders=['Linux ARM'])) | 1485 builders=['Linux ARM'])) |
| OLD | NEW |