| 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 'nacl' bot. It must | 8 # This is the buildmaster config file for the 'nacl' 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 posixpath | 17 import posixpath |
| 18 | 18 |
| 19 from buildbot.changes.pb import PBChangeSource | 19 from buildbot.changes.pb import PBChangeSource |
| 20 from buildbot.scheduler import Scheduler | 20 from buildbot.scheduler import Scheduler |
| 21 | 21 |
| 22 from master import build_utils | 22 from master import build_utils |
| 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 nacl_sdk_factory | 25 from master.factory import nacl_sdk_factory |
| 26 | 26 |
| 27 import config | 27 import config |
| 28 import master_site_config |
| 28 | 29 |
| 29 ActiveMaster = config.Master.NativeClientSDKMono | 30 ActiveMaster = master_site_config.NativeClientSDKMono |
| 30 | 31 |
| 31 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 32 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
| 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 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 38 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
| 38 | 39 |
| 39 ####### CHANGESOURCES | 40 ####### CHANGESOURCES |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 tree_status_url=None, | 164 tree_status_url=None, |
| 164 lookup='google.com', | 165 lookup='google.com', |
| 165 forgiving_steps=forgiving_steps, | 166 forgiving_steps=forgiving_steps, |
| 166 sendToInterestedUsers=False)) | 167 sendToInterestedUsers=False)) |
| 167 | 168 |
| 168 | 169 |
| 169 ####### PROJECT IDENTITY | 170 ####### PROJECT IDENTITY |
| 170 | 171 |
| 171 # Buildbot master url: | 172 # Buildbot master url: |
| 172 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.sdk.mono/' | 173 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.sdk.mono/' |
| OLD | NEW |