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 # This is the buildmaster config file for the 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' 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 |
(...skipping 16 matching lines...) Expand all Loading... |
27 from buildbot.scheduler import Triggerable | 27 from buildbot.scheduler import Triggerable |
28 | 28 |
29 from master import build_utils | 29 from master import build_utils |
30 from master import chromium_notifier | 30 from master import chromium_notifier |
31 from master import master_config | 31 from master import master_config |
32 from master import master_utils | 32 from master import master_utils |
33 from master import slaves_list | 33 from master import slaves_list |
34 from master.factory import chromium_factory | 34 from master.factory import chromium_factory |
35 | 35 |
36 import config | 36 import config |
| 37 import master_site_config |
37 | 38 |
38 ActiveMaster = config.Master.ChromiumPerf | 39 ActiveMaster = master_site_config.ChromiumPerf |
39 | 40 |
40 # Enable MAIL_NOTIFIER in production to send perf sheriff alerts. | 41 # Enable MAIL_NOTIFIER in production to send perf sheriff alerts. |
41 MAIL_NOTIFIER = ActiveMaster.is_production_host | 42 MAIL_NOTIFIER = ActiveMaster.is_production_host |
42 | 43 |
43 # This is the dictionary that the buildmaster pays attention to. We also use | 44 # This is the dictionary that the buildmaster pays attention to. We also use |
44 # a shorter alias to save typing. | 45 # a shorter alias to save typing. |
45 c = BuildmasterConfig = {} | 46 c = BuildmasterConfig = {} |
46 | 47 |
47 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 48 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
48 # configured into the buildslaves (with their --master option) | 49 # configured into the buildslaves (with their --master option) |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 c['projectName'] = ActiveMaster.project_name | 1005 c['projectName'] = ActiveMaster.project_name |
1005 c['projectURL'] = config.Master.project_url | 1006 c['projectURL'] = config.Master.project_url |
1006 | 1007 |
1007 # the 'buildbotURL' string should point to the location where the buildbot's | 1008 # the 'buildbotURL' string should point to the location where the buildbot's |
1008 # internal web server (usually the html.Waterfall page) is visible. This | 1009 # internal web server (usually the html.Waterfall page) is visible. This |
1009 # typically uses the port number set in the Waterfall 'status' entry, but | 1010 # typically uses the port number set in the Waterfall 'status' entry, but |
1010 # with an externally-visible host name which the buildbot cannot figure out | 1011 # with an externally-visible host name which the buildbot cannot figure out |
1011 # without some help. | 1012 # without some help. |
1012 | 1013 |
1013 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' | 1014 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' |
OLD | NEW |