| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2015 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 # It has one job: define a dictionary named BuildmasterConfig. This | 8 # It has one job: define a dictionary named BuildmasterConfig. This |
| 9 # dictionary has a variety of keys to control different aspects of the | 9 # dictionary has a variety of keys to control different aspects of the |
| 10 # buildmaster. They are documented in docs/config.xhtml. | 10 # buildmaster. They are documented in docs/config.xhtml. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 MASTER_HOST = ActiveMaster.master_host | 35 MASTER_HOST = ActiveMaster.master_host |
| 36 WEB_STATUS = True | 36 WEB_STATUS = True |
| 37 MAIL_NOTIFIER = ActiveMaster.is_production_host | 37 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 38 GOOD_REVISIONS = ActiveMaster.is_production_host | 38 GOOD_REVISIONS = ActiveMaster.is_production_host |
| 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 | 43 |
| 44 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 44 config.DatabaseSetup(c) |
| 45 | 45 |
| 46 | 46 |
| 47 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 47 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 48 # configured into the buildslaves (with their --master option) | 48 # configured into the buildslaves (with their --master option) |
| 49 c['slavePortnum'] = ActiveMaster.slave_port | 49 c['slavePortnum'] = ActiveMaster.slave_port |
| 50 | 50 |
| 51 | 51 |
| 52 ####### CHANGESOURCES | 52 ####### CHANGESOURCES |
| 53 dartino_poller = utils.get_github_poller('dartino', 'sdk') | 53 dartino_poller = utils.get_github_poller('dartino', 'sdk') |
| 54 dartino_dev_poller = utils.get_github_poller('dartino', 'sdk', branch='dev') | 54 dartino_dev_poller = utils.get_github_poller('dartino', 'sdk', branch='dev') |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 c['projectName'] = ActiveMaster.project_name | 392 c['projectName'] = ActiveMaster.project_name |
| 393 c['projectURL'] = config.Master.project_url | 393 c['projectURL'] = config.Master.project_url |
| 394 | 394 |
| 395 # the 'buildbotURL' string should point to the location where the buildbot's | 395 # the 'buildbotURL' string should point to the location where the buildbot's |
| 396 # internal web server (usually the html.Waterfall page) is visible. This | 396 # internal web server (usually the html.Waterfall page) is visible. This |
| 397 # typically uses the port number set in the Waterfall 'status' entry, but | 397 # typically uses the port number set in the Waterfall 'status' entry, but |
| 398 # with an externally-visible host name which the buildbot cannot figure out | 398 # with an externally-visible host name which the buildbot cannot figure out |
| 399 # without some help. | 399 # without some help. |
| 400 | 400 |
| 401 c['buildbotURL'] = ActiveMaster.buildbot_url | 401 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |