| 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.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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 DRMEMORY_NOTIFIER = True | 36 DRMEMORY_NOTIFIER = True |
| 37 | 37 |
| 38 STATUS_PUSH = False | 38 STATUS_PUSH = False |
| 39 | 39 |
| 40 # This is the dictionary that the buildmaster pays attention to. We also use | 40 # This is the dictionary that the buildmaster pays attention to. We also use |
| 41 # a shorter alias to save typing. | 41 # a shorter alias to save typing. |
| 42 c = BuildmasterConfig = {} | 42 c = BuildmasterConfig = {} |
| 43 c['status'] = [] | 43 c['status'] = [] |
| 44 | 44 |
| 45 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 45 config.DatabaseSetup(c) |
| 46 | 46 |
| 47 ####### CHANGESOURCES | 47 ####### CHANGESOURCES |
| 48 | 48 |
| 49 # Polls config.Master.trunk_url for changes | 49 # Polls config.Master.trunk_url for changes |
| 50 chromium_repo_url = config.Master.git_server_url + '/chromium/src' | 50 chromium_repo_url = config.Master.git_server_url + '/chromium/src' |
| 51 trunk_poller = gitiles_poller.GitilesPoller(chromium_repo_url, | 51 trunk_poller = gitiles_poller.GitilesPoller(chromium_repo_url, |
| 52 project='chromium') | 52 project='chromium') |
| 53 | 53 |
| 54 c['change_source'] = [trunk_poller] | 54 c['change_source'] = [trunk_poller] |
| 55 | 55 |
| (...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 ])) | 1411 ])) |
| 1412 | 1412 |
| 1413 c['status'].append(MailNotifier( | 1413 c['status'].append(MailNotifier( |
| 1414 fromaddr=ActiveMaster.from_address, # Reply-To address | 1414 fromaddr=ActiveMaster.from_address, # Reply-To address |
| 1415 mode='failing', | 1415 mode='failing', |
| 1416 relayhost=config.Master.smtp, | 1416 relayhost=config.Master.smtp, |
| 1417 subject='Build failure on %(builder)s', | 1417 subject='Build failure on %(builder)s', |
| 1418 extraRecipients=['sbc@chromium.org'], | 1418 extraRecipients=['sbc@chromium.org'], |
| 1419 sendToInterestedUsers=False, | 1419 sendToInterestedUsers=False, |
| 1420 builders=['Linux ARM'])) | 1420 builders=['Linux ARM'])) |
| OLD | NEW |