Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: masters/master.chromium.chromiumos/master.cfg

Issue 14383021: Break config_default into master_site_configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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.schedulers.basic import SingleBranchScheduler 6 from buildbot.schedulers.basic import SingleBranchScheduler
7 7
8 # These modules come from scripts/master, which must be in the PYTHONPATH. 8 # These modules come from scripts/master, which must be in the PYTHONPATH.
9 from master import build_utils 9 from master import build_utils
10 from master import chromium_notifier 10 from master import chromium_notifier
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 chromeos_factory 15 from master.factory import chromeos_factory
16 from master.factory import chromium_factory 16 from master.factory import chromium_factory
17 17
18 # These modules come from scripts/common, which must be in the PYTHONPATH. 18 # These modules come from scripts/common, which must be in the PYTHONPATH.
19 import config 19 import config
20 import master_site_config
20 21
21 22
22 ActiveMaster = config.Master.ChromiumChromiumOS 23 ActiveMaster = master_site_config.ChromiumChromiumOS
23 # This is where we sometimes look up things we share with ChromiumOS.
24 # The ActiveMaster inherits from Chromium for the rest.
25 AlternateMaster = config.Master.ChromiumOS
26 24
27 # Only the production Buildbot master closes the tree on failures. 25 # Only the production Buildbot master closes the tree on failures.
28 TREE_GATE_KEEPER = ActiveMaster.is_production_host 26 TREE_GATE_KEEPER = ActiveMaster.is_production_host
29 27
30 CODESEARCH_NOTIFIER = True 28 CODESEARCH_NOTIFIER = True
31 STATUS_PUSH = False 29 STATUS_PUSH = False
32 30
33 # This is the dictionary that the buildmaster pays attention to. We also use 31 # This is the dictionary that the buildmaster pays attention to. We also use
34 # a shorter alias to save typing. 32 # a shorter alias to save typing.
35 c = BuildmasterConfig = {} 33 c = BuildmasterConfig = {}
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ####### STATUS TARGETS 99 ####### STATUS TARGETS
102 100
103 # Adds common status and tools to this master. 101 # Adds common status and tools to this master.
104 master_utils.AutoSetupMaster(c, ActiveMaster, 102 master_utils.AutoSetupMaster(c, ActiveMaster,
105 public_html='../master.chromium/public_html', 103 public_html='../master.chromium/public_html',
106 templates=['../master.chromium/templates'], 104 templates=['../master.chromium/templates'],
107 enable_http_status_push=ActiveMaster.is_production_host) 105 enable_http_status_push=ActiveMaster.is_production_host)
108 106
109 if TREE_GATE_KEEPER: 107 if TREE_GATE_KEEPER:
110 import master_gatekeeper_cfg 108 import master_gatekeeper_cfg
111 master_gatekeeper_cfg.Update(config, ActiveMaster, AlternateMaster, c) 109 master_gatekeeper_cfg.Update(config, ActiveMaster, c)
112 110
113 ####### PROJECT IDENTITY 111 ####### PROJECT IDENTITY
114 112
115 # Buildbot master url: 113 # Buildbot master url:
116 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.chromiumos/' 114 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.chromiumos/'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698