| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2015 The Chromium Authors. All rights reserved. | 4 # Copyright 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 from buildbot.scheduler import Nightly | 8 from buildbot.scheduler import Nightly |
| 9 from buildbot.scheduler import Triggerable | 9 from buildbot.scheduler import Triggerable |
| 10 from buildbot.schedulers.basic import SingleBranchScheduler | 10 from buildbot.schedulers.basic import SingleBranchScheduler |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 MAIL_NOTIFIER = ActiveMaster.is_production_host | 21 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 22 | 22 |
| 23 # This is the dictionary that the buildmaster pays attention to. We also use | 23 # This is the dictionary that the buildmaster pays attention to. We also use |
| 24 # a shorter alias to save typing. | 24 # a shorter alias to save typing. |
| 25 c = BuildmasterConfig = {} | 25 c = BuildmasterConfig = {} |
| 26 c['status'] = [] | 26 c['status'] = [] |
| 27 | 27 |
| 28 | 28 |
| 29 ####### DATABASE | 29 ####### DATABASE |
| 30 | 30 |
| 31 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 31 config.DatabaseSetup(c) |
| 32 | 32 |
| 33 | 33 |
| 34 ####### CHANGESOURCES | 34 ####### CHANGESOURCES |
| 35 | 35 |
| 36 comparator = gitiles_poller.GitilesRevisionComparator() | 36 comparator = gitiles_poller.GitilesRevisionComparator() |
| 37 c['change_source'] = [ | 37 c['change_source'] = [ |
| 38 gitiles_poller.GitilesPoller( | 38 gitiles_poller.GitilesPoller( |
| 39 'https://chromium.googlesource.com/v8/v8', | 39 'https://chromium.googlesource.com/v8/v8', |
| 40 branches=['master', 'candidate', 'lkgr'], | 40 branches=['master', 'candidate', 'lkgr'], |
| 41 pollInterval=20, | 41 pollInterval=20, |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 mail_notifier_cfg.Update(config, ActiveMaster, c) | 292 mail_notifier_cfg.Update(config, ActiveMaster, c) |
| 293 | 293 |
| 294 # Adjust the buildCaches to be 3x the number of slaves per builder. | 294 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 295 c['autoBuildCacheRatio'] = 3 | 295 c['autoBuildCacheRatio'] = 3 |
| 296 | 296 |
| 297 | 297 |
| 298 ####### PROJECT IDENTITY | 298 ####### PROJECT IDENTITY |
| 299 | 299 |
| 300 c['projectName'] = ActiveMaster.project_name | 300 c['projectName'] = ActiveMaster.project_name |
| 301 c['projectURL'] = config.Master.project_url | 301 c['projectURL'] = config.Master.project_url |
| OLD | NEW |