| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
| 6 from buildbot.scheduler import Triggerable | 6 from buildbot.scheduler import Triggerable |
| 7 from buildbot.scheduler import Scheduler | 7 from buildbot.scheduler import Scheduler |
| 8 | 8 |
| 9 # These modules come from scripts/master, which must be in the PYTHONPATH. | 9 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| 10 from master import build_utils | 10 from master import build_utils |
| 11 from master import master_config | 11 from master import master_config |
| 12 from master import master_utils | 12 from master import master_utils |
| 13 from master import slaves_list | 13 from master import slaves_list |
| 14 | 14 |
| 15 from master.factory import chromium_factory | 15 from master.factory import chromium_factory |
| 16 | 16 |
| 17 import config | 17 import config |
| 18 import master_site_config |
| 18 | 19 |
| 19 ActiveMaster = config.Master.ChromiumMemoryFYI | 20 ActiveMaster = master_site_config.ChromiumMemoryFYI |
| 20 | 21 |
| 21 c = BuildmasterConfig = {} | 22 c = BuildmasterConfig = {} |
| 22 c['logCompressionLimit'] = False | 23 c['logCompressionLimit'] = False |
| 23 | 24 |
| 24 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 25 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
| 25 | 26 |
| 26 ####### CHANGESOURCES | 27 ####### CHANGESOURCES |
| 27 | 28 |
| 28 # the 'change_source' list tells the buildmaster how it should find out about | 29 # the 'change_source' list tells the buildmaster how it should find out about |
| 29 # source code changes. Any class which implements IChangeSource can be added | 30 # source code changes. Any class which implements IChangeSource can be added |
| (...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 enable_http_status_push=ActiveMaster.is_production_host) | 925 enable_http_status_push=ActiveMaster.is_production_host) |
| 925 | 926 |
| 926 if ActiveMaster.is_production_host: | 927 if ActiveMaster.is_production_host: |
| 927 import notifier_cfg | 928 import notifier_cfg |
| 928 notifier_cfg.Update(config, ActiveMaster, c) | 929 notifier_cfg.Update(config, ActiveMaster, c) |
| 929 | 930 |
| 930 ####### PROJECT IDENTITY | 931 ####### PROJECT IDENTITY |
| 931 | 932 |
| 932 # Buildbot master url: | 933 # Buildbot master url: |
| 933 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory.fyi/' | 934 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory.fyi/' |
| OLD | NEW |