| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 from buildbot.scheduler import Scheduler | 8 from buildbot.scheduler import Scheduler |
| 9 from buildbot.schedulers import timed | 9 from buildbot.schedulers import timed |
| 10 from buildbot.status import mail | 10 from buildbot.status import mail |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 ActiveMaster = master_site_config.ChromiumSwarm | 22 ActiveMaster = master_site_config.ChromiumSwarm |
| 23 | 23 |
| 24 # This is the dictionary that the buildmaster pays attention to. We also use | 24 # This is the dictionary that the buildmaster pays attention to. We also use |
| 25 # a shorter alias to save typing. | 25 # a shorter alias to save typing. |
| 26 c = BuildmasterConfig = {} | 26 c = BuildmasterConfig = {} |
| 27 | 27 |
| 28 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 28 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 29 # configured into the buildslaves (with their --master option) | 29 # configured into the buildslaves (with their --master option) |
| 30 c['slavePortnum'] = ActiveMaster.slave_port | 30 c['slavePortnum'] = ActiveMaster.slave_port |
| 31 | 31 |
| 32 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 32 config.DatabaseSetup(c) |
| 33 | 33 |
| 34 ####### CHANGESOURCES | 34 ####### CHANGESOURCES |
| 35 | 35 |
| 36 # Polls config.Master.trunk_url for changes | 36 # Polls config.Master.trunk_url for changes |
| 37 master_poller = gitiles_poller.GitilesPoller( | 37 master_poller = gitiles_poller.GitilesPoller( |
| 38 'https://chromium.googlesource.com/chromium/src') | 38 'https://chromium.googlesource.com/chromium/src') |
| 39 | 39 |
| 40 c['change_source'] = [master_poller] | 40 c['change_source'] = [master_poller] |
| 41 | 41 |
| 42 ####### SCHEDULERS | 42 ####### SCHEDULERS |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 public_html="../master.chromium/public_html", | 158 public_html="../master.chromium/public_html", |
| 159 templates=['../master.chromium/templates'], | 159 templates=['../master.chromium/templates'], |
| 160 tagComparator=master_poller.comparator, | 160 tagComparator=master_poller.comparator, |
| 161 enable_http_status_push=ActiveMaster.is_production_host) | 161 enable_http_status_push=ActiveMaster.is_production_host) |
| 162 | 162 |
| 163 | 163 |
| 164 ####### PROJECT IDENTITY | 164 ####### PROJECT IDENTITY |
| 165 | 165 |
| 166 c['projectName'] = ActiveMaster.project_name | 166 c['projectName'] = ActiveMaster.project_name |
| 167 c['projectURL'] = config.Master.project_url | 167 c['projectURL'] = config.Master.project_url |
| OLD | NEW |