Chromium Code Reviews| 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 832 any_steps = build_utils.ExtractFactoriesSteps(factory_map) | 832 any_steps = build_utils.ExtractFactoriesSteps(factory_map) |
| 833 c['status'].append(goodrevisions.GoodRevisions( | 833 c['status'].append(goodrevisions.GoodRevisions( |
| 834 good_revision_steps=any_steps, | 834 good_revision_steps=any_steps, |
| 835 store_revisions_url=ActiveMaster.store_revisions_url)) | 835 store_revisions_url=ActiveMaster.store_revisions_url)) |
| 836 | 836 |
| 837 | 837 |
| 838 # Keep last build logs, the default is too low. | 838 # Keep last build logs, the default is too low. |
| 839 c['buildHorizon'] = 1000 | 839 c['buildHorizon'] = 1000 |
| 840 c['logHorizon'] = 500 | 840 c['logHorizon'] = 500 |
| 841 # Must be at least 2x the number of slaves. | 841 # Must be at least 2x the number of slaves. |
| 842 c['eventHorizon'] = 200 | 842 c['eventHorizon'] = 500 |
|
ricow1
2015/10/09 11:25:54
this should probably be slightly higher, we have a
| |
| 843 | 843 |
| 844 # Template generation is using 40 entries, so give it a little extra. | 844 # Template generation is using 40 entries, so give it a little extra. |
| 845 c['buildCacheSize'] = 42 | 845 c['buildCacheSize'] = 42 |
| 846 | 846 |
| 847 c['properties'] = {'mastername': master_utils.GetMastername()} | 847 c['properties'] = {'mastername': master_utils.GetMastername()} |
| 848 | 848 |
| 849 ####### PROJECT IDENTITY | 849 ####### PROJECT IDENTITY |
| 850 | 850 |
| 851 # the 'projectName' string will be used to describe the project that this | 851 # the 'projectName' string will be used to describe the project that this |
| 852 # buildbot is working on. For example, it is used as the title of the | 852 # buildbot is working on. For example, it is used as the title of the |
| 853 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 853 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 854 # from buildbot HTML pages to your project's home page. | 854 # from buildbot HTML pages to your project's home page. |
| 855 | 855 |
| 856 c['projectName'] = ActiveMaster.project_name | 856 c['projectName'] = ActiveMaster.project_name |
| 857 c['projectURL'] = config.Master.project_url | 857 c['projectURL'] = config.Master.project_url |
| 858 | 858 |
| 859 # the 'buildbotURL' string should point to the location where the buildbot's | 859 # the 'buildbotURL' string should point to the location where the buildbot's |
| 860 # internal web server (usually the html.Waterfall page) is visible. This | 860 # internal web server (usually the html.Waterfall page) is visible. This |
| 861 # typically uses the port number set in the Waterfall 'status' entry, but | 861 # typically uses the port number set in the Waterfall 'status' entry, but |
| 862 # with an externally-visible host name which the buildbot cannot figure out | 862 # with an externally-visible host name which the buildbot cannot figure out |
| 863 # without some help. | 863 # without some help. |
| 864 | 864 |
| 865 c['buildbotURL'] = ActiveMaster.buildbot_url | 865 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |