| 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 Nightly | 8 from buildbot.scheduler import Nightly |
| 9 from buildbot.scheduler import Scheduler | 9 from buildbot.scheduler import Scheduler |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 MAIL_NOTIFIER = ActiveMaster.is_production_host | 24 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 25 | 25 |
| 26 # This is the dictionary that the buildmaster pays attention to. We also use | 26 # This is the dictionary that the buildmaster pays attention to. We also use |
| 27 # a shorter alias to save typing. | 27 # a shorter alias to save typing. |
| 28 c = BuildmasterConfig = {} | 28 c = BuildmasterConfig = {} |
| 29 c['status'] = [] | 29 c['status'] = [] |
| 30 | 30 |
| 31 | 31 |
| 32 ####### DATABASE | 32 ####### DATABASE |
| 33 | 33 |
| 34 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 34 config.DatabaseSetup(c) |
| 35 | 35 |
| 36 ####### CHANGESOURCES | 36 ####### CHANGESOURCES |
| 37 | 37 |
| 38 comparator = gitiles_poller.GitilesRevisionComparator() | 38 comparator = gitiles_poller.GitilesRevisionComparator() |
| 39 c['change_source'] = [ | 39 c['change_source'] = [ |
| 40 gitiles_poller.GitilesPoller( | 40 gitiles_poller.GitilesPoller( |
| 41 'https://chromium.googlesource.com/v8/v8', | 41 'https://chromium.googlesource.com/v8/v8', |
| 42 branches=['master'], | 42 branches=['master'], |
| 43 pollInterval=10, | 43 pollInterval=10, |
| 44 comparator=comparator, | 44 comparator=comparator, |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 # too low. Must keep at least a few days worth of builds. | 691 # too low. Must keep at least a few days worth of builds. |
| 692 c['buildHorizon'] = 1000 | 692 c['buildHorizon'] = 1000 |
| 693 c['logHorizon'] = 500 | 693 c['logHorizon'] = 500 |
| 694 # Must be at least 2x the number of slaves. | 694 # Must be at least 2x the number of slaves. |
| 695 c['eventHorizon'] = 200 | 695 c['eventHorizon'] = 200 |
| 696 | 696 |
| 697 ####### PROJECT IDENTITY | 697 ####### PROJECT IDENTITY |
| 698 | 698 |
| 699 c['projectName'] = ActiveMaster.project_name | 699 c['projectName'] = ActiveMaster.project_name |
| 700 c['projectURL'] = config.Master.project_url | 700 c['projectURL'] = config.Master.project_url |
| OLD | NEW |