| 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 # 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 17 matching lines...) Expand all Loading... |
| 28 ActiveMaster = master_site_config.DrMemory | 28 ActiveMaster = master_site_config.DrMemory |
| 29 | 29 |
| 30 MASTER_HOST = ActiveMaster.master_host | 30 MASTER_HOST = ActiveMaster.master_host |
| 31 MAIL_NOTIFIER = ActiveMaster.is_production_host | 31 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 32 MASTER_PORT = ActiveMaster.master_port | 32 MASTER_PORT = ActiveMaster.master_port |
| 33 | 33 |
| 34 # This is the dictionary that the buildmaster pays attention to. We also use | 34 # This is the dictionary that the buildmaster pays attention to. We also use |
| 35 # a shorter alias to save typing. | 35 # a shorter alias to save typing. |
| 36 c = BuildmasterConfig = {} | 36 c = BuildmasterConfig = {} |
| 37 | 37 |
| 38 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 38 config.DatabaseSetup(c) |
| 39 | 39 |
| 40 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 40 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 41 # configured into the buildslaves (with their --master option) | 41 # configured into the buildslaves (with their --master option) |
| 42 c['slavePortnum'] = ActiveMaster.slave_port | 42 c['slavePortnum'] = ActiveMaster.slave_port |
| 43 | 43 |
| 44 slaves = slaves_list.SlavesList('slaves.cfg', 'DrMemory') | 44 slaves = slaves_list.SlavesList('slaves.cfg', 'DrMemory') |
| 45 | 45 |
| 46 | 46 |
| 47 ####### CHANGESOURCES | 47 ####### CHANGESOURCES |
| 48 | 48 |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 249 |
| 250 ####### PROJECT IDENTITY | 250 ####### PROJECT IDENTITY |
| 251 | 251 |
| 252 # the 'projectName' string will be used to describe the project that this | 252 # the 'projectName' string will be used to describe the project that this |
| 253 # buildbot is working on. For example, it is used as the title of the | 253 # buildbot is working on. For example, it is used as the title of the |
| 254 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 254 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 255 # from buildbot HTML pages to your project's home page. | 255 # from buildbot HTML pages to your project's home page. |
| 256 | 256 |
| 257 c['projectName'] = ActiveMaster.project_name | 257 c['projectName'] = ActiveMaster.project_name |
| 258 c['projectURL'] = config.Master.project_url | 258 c['projectURL'] = config.Master.project_url |
| OLD | NEW |