| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must | 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must |
| 6 # be installed as 'master.cfg' in your buildmaster's base directory | 6 # be installed as 'master.cfg' in your buildmaster's base directory |
| 7 # (although the filename can be changed with the --basedir option to | 7 # (although the filename can be changed with the --basedir option to |
| 8 # 'mktap buildbot master'). | 8 # 'mktap buildbot master'). |
| 9 | 9 |
| 10 # It has one job: define a dictionary named BuildmasterConfig. This | 10 # It has one job: define a dictionary named BuildmasterConfig. This |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 44 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 45 # configured into the buildslaves (with their --master option) | 45 # configured into the buildslaves (with their --master option) |
| 46 c['slavePortnum'] = ActiveMaster.slave_port | 46 c['slavePortnum'] = ActiveMaster.slave_port |
| 47 | 47 |
| 48 # Enable compression for any stdio log file larger than 10 MB. | 48 # Enable compression for any stdio log file larger than 10 MB. |
| 49 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB | 49 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB |
| 50 | 50 |
| 51 # Load the list of slaves. | 51 # Load the list of slaves. |
| 52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf') | 52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf') |
| 53 | 53 |
| 54 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 54 config.DatabaseSetup(c) |
| 55 | 55 |
| 56 def recipe_factory(recipe): | 56 def recipe_factory(recipe): |
| 57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) | 57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) |
| 58 return f_annotations.BaseFactory(recipe=recipe) | 58 return f_annotations.BaseFactory(recipe=recipe) |
| 59 | 59 |
| 60 | 60 |
| 61 # ------------------------------------------------------------------------------ | 61 # ------------------------------------------------------------------------------ |
| 62 # Change Sources. | 62 # Change Sources. |
| 63 | 63 |
| 64 # Polls config.Master.trunk_url for changes | 64 # Polls config.Master.trunk_url for changes |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 251 |
| 252 ####### PROJECT IDENTITY | 252 ####### PROJECT IDENTITY |
| 253 | 253 |
| 254 # the 'projectName' string will be used to describe the project that this | 254 # the 'projectName' string will be used to describe the project that this |
| 255 # buildbot is working on. For example, it is used as the title of the | 255 # buildbot is working on. For example, it is used as the title of the |
| 256 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 256 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 257 # from buildbot HTML pages to your project's home page. | 257 # from buildbot HTML pages to your project's home page. |
| 258 | 258 |
| 259 c['projectName'] = ActiveMaster.project_name | 259 c['projectName'] = ActiveMaster.project_name |
| 260 c['projectURL'] = config.Master.project_url | 260 c['projectURL'] = config.Master.project_url |
| OLD | NEW |