OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # vim: ft=python: | 2 # vim: ft=python: |
3 | 3 |
4 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2013 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 # This is the buildmaster config file for the 'gatekeeper' bot. It must | 8 # This is the buildmaster config file for the 'gatekeeper' bot. It must |
9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
11 # 'mktap buildbot master'). | 11 # 'mktap buildbot master'). |
12 | 12 |
13 # It has one job: define a dictionary named BuildmasterConfig. This | 13 # It has one job: define a dictionary named BuildmasterConfig. This |
14 # dictionary has a variety of keys to control different aspects of the | 14 # dictionary has a variety of keys to control different aspects of the |
15 # buildmaster. They are documented in docs/config.xhtml . | 15 # buildmaster. They are documented in docs/config.xhtml . |
16 | 16 |
17 import os | 17 import os |
18 | 18 |
19 from buildbot.scheduler import Nightly | 19 from buildbot.scheduler import Nightly |
20 | 20 |
21 from master import build_utils | 21 from master import build_utils |
22 from master import chromium_step | 22 from master import chromium_step |
23 from master import master_utils | 23 from master import master_utils |
24 from master import slaves_list | 24 from master import slaves_list |
25 from master.factory import annotator_factory | 25 from master.factory import annotator_factory |
26 | 26 |
27 import config | 27 import config |
| 28 import master_site_config |
28 | 29 |
29 ActiveMaster = config.Master.Gatekeeper | 30 ActiveMaster = master_site_config.Gatekeeper |
30 | 31 |
31 MAIL_NOTIFIER = False | 32 MAIL_NOTIFIER = False |
32 | 33 |
33 # This is the dictionary that the buildmaster pays attention to. We also use | 34 # This is the dictionary that the buildmaster pays attention to. We also use |
34 # a shorter alias to save typing. | 35 # a shorter alias to save typing. |
35 c = BuildmasterConfig = {} | 36 c = BuildmasterConfig = {} |
36 | 37 |
37 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 38 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
38 # configured into the buildslaves (with their --master option) | 39 # configured into the buildslaves (with their --master option) |
39 c['slavePortnum'] = ActiveMaster.slave_port | 40 c['slavePortnum'] = ActiveMaster.slave_port |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 c['projectName'] = ActiveMaster.project_name | 129 c['projectName'] = ActiveMaster.project_name |
129 c['projectURL'] = config.Master.project_url | 130 c['projectURL'] = config.Master.project_url |
130 | 131 |
131 # the 'buildbotURL' string should point to the location where the buildbot's | 132 # the 'buildbotURL' string should point to the location where the buildbot's |
132 # internal web server (usually the html.Waterfall page) is visible. This | 133 # internal web server (usually the html.Waterfall page) is visible. This |
133 # typically uses the port number set in the Waterfall 'status' entry, but | 134 # typically uses the port number set in the Waterfall 'status' entry, but |
134 # with an externally-visible host name which the buildbot cannot figure out | 135 # with an externally-visible host name which the buildbot cannot figure out |
135 # without some help. | 136 # without some help. |
136 | 137 |
137 c['buildbotURL'] = 'http://localhost:9511/' | 138 c['buildbotURL'] = 'http://localhost:9511/' |
OLD | NEW |