| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2006-2009 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 'chromeos' bot. It must | 8 # This is the buildmaster config file for the 'chromeos' 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 12 matching lines...) Expand all Loading... |
| 23 # os = xp/vista/linux/mac | 23 # os = xp/vista/linux/mac |
| 24 # type = perf/tests/full/jsc/webkit_latest | 24 # type = perf/tests/full/jsc/webkit_latest |
| 25 | 25 |
| 26 from buildbot import locks | 26 from buildbot import locks |
| 27 from buildbot.changes.pb import PBChangeSource | 27 from buildbot.changes.pb import PBChangeSource |
| 28 from buildbot.steps import shell | 28 from buildbot.steps import shell |
| 29 from buildbot.scheduler import Dependent | 29 from buildbot.scheduler import Dependent |
| 30 from buildbot.scheduler import Scheduler | 30 from buildbot.scheduler import Scheduler |
| 31 from buildbot.scheduler import Triggerable | 31 from buildbot.scheduler import Triggerable |
| 32 | 32 |
| 33 # Reload all the python files under master and common | |
| 34 import master | |
| 35 reload(master) | |
| 36 import common | |
| 37 reload(common) | |
| 38 | |
| 39 # These modules come from scripts/master, which must be in the PYTHONPATH. | 33 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| 40 import build_utils | 34 from master import build_utils |
| 41 import chromium_step | 35 from master import chromium_step |
| 42 from factory import chromeos_factory | 36 from master import master_utils |
| 43 import master_utils | 37 from master import slaves_list |
| 44 import slaves_list | 38 from master.factory import chromeos_factory |
| 45 | 39 |
| 46 # These modules come from scripts/common, which must be in the PYTHONPATH. | 40 # These modules come from scripts/common, which must be in the PYTHONPATH. |
| 47 import chromium_config as config | 41 import config |
| 48 import chromium_utils | |
| 49 | 42 |
| 50 ActiveMaster = config.Master.ChromeOS | 43 ActiveMaster = config.Master.ChromiumOS |
| 51 | 44 |
| 52 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 45 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
| 53 GOOD_REVISIONS = False | 46 GOOD_REVISIONS = False |
| 54 | 47 |
| 55 # This is the dictionary that the buildmaster pays attention to. We also use | 48 # This is the dictionary that the buildmaster pays attention to. We also use |
| 56 # a shorter alias to save typing. | 49 # a shorter alias to save typing. |
| 57 c = BuildmasterConfig = {} | 50 c = BuildmasterConfig = {} |
| 58 | 51 |
| 59 | 52 |
| 60 ####### CHANGESOURCES | 53 ####### CHANGESOURCES |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 'Chromium Linux': ['unit_tests'], | 521 'Chromium Linux': ['unit_tests'], |
| 529 } | 522 } |
| 530 c['status'].append(goodrevisions.GoodRevisions( | 523 c['status'].append(goodrevisions.GoodRevisions( |
| 531 good_revision_steps=good_revision_steps)) | 524 good_revision_steps=good_revision_steps)) |
| 532 | 525 |
| 533 | 526 |
| 534 ####### PROJECT IDENTITY | 527 ####### PROJECT IDENTITY |
| 535 | 528 |
| 536 # Buildbot master url: | 529 # Buildbot master url: |
| 537 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromiumos/' | 530 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromiumos/' |
| OLD | NEW |