| 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 from buildbot.changes import svnpoller | 17 from buildbot.changes import svnpoller |
| 18 from buildbot.scheduler import Scheduler | 18 from buildbot.scheduler import Scheduler |
| 19 | 19 |
| 20 from master import master_utils | 20 from master import master_utils |
| 21 from master import slaves_list | 21 from master import slaves_list |
| 22 from master.factory import nacl_factory | 22 from master.factory import nacl_factory |
| 23 | 23 |
| 24 import config | 24 import config |
| 25 import master_site_config |
| 25 | 26 |
| 26 ActiveMaster = config.Master.NativeClientToolchain | 27 ActiveMaster = master_site_config.NativeClientToolchain |
| 27 | 28 |
| 28 TREE_GATE_KEEPER = False | 29 TREE_GATE_KEEPER = False |
| 29 GOOD_REVISIONS = False | 30 GOOD_REVISIONS = False |
| 30 | 31 |
| 31 # This is the dictionary that the buildmaster pays attention to. We also use | 32 # This is the dictionary that the buildmaster pays attention to. We also use |
| 32 # a shorter alias to save typing. | 33 # a shorter alias to save typing. |
| 33 c = BuildmasterConfig = {} | 34 c = BuildmasterConfig = {} |
| 34 | 35 |
| 35 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 36 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
| 36 | 37 |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 ] | 244 ] |
| 244 c['status'].append(goodrevisions.GoodRevisions( | 245 c['status'].append(goodrevisions.GoodRevisions( |
| 245 good_revision_steps={'': all_steps}, | 246 good_revision_steps={'': all_steps}, |
| 246 store_revisions_url=ActiveMaster.store_revisions_url)) | 247 store_revisions_url=ActiveMaster.store_revisions_url)) |
| 247 | 248 |
| 248 | 249 |
| 249 ####### PROJECT IDENTITY | 250 ####### PROJECT IDENTITY |
| 250 | 251 |
| 251 # Buildbot master url: | 252 # Buildbot master url: |
| 252 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.toolchain/' | 253 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.toolchain/' |
| OLD | NEW |