| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
| 6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
| 7 from buildbot.scheduler import Triggerable | 7 from buildbot.scheduler import Triggerable |
| 8 | 8 |
| 9 from master import build_utils | 9 from master import build_utils |
| 10 from master import master_config | 10 from master import master_config |
| 11 from master import master_utils | 11 from master import master_utils |
| 12 from master import slaves_list | 12 from master import slaves_list |
| 13 from master.factory import chromium_factory | 13 from master.factory import chromium_factory |
| 14 | 14 |
| 15 import config | 15 import config |
| 16 import master_site_config |
| 16 | 17 |
| 17 _CUSTOM_DEPS_LLVM_ALLOCATED_TYPE = ( | 18 _CUSTOM_DEPS_LLVM_ALLOCATED_TYPE = ( |
| 18 'src/third_party/llvm-allocated-type', | 19 'src/third_party/llvm-allocated-type', |
| 19 'svn://svn.chromium.org/chrome/trunk/deps/third_party/llvm-allocated-type') | 20 'svn://svn.chromium.org/chrome/trunk/deps/third_party/llvm-allocated-type') |
| 20 | 21 |
| 21 _DBG_TEST_ENV = { | 22 _DBG_TEST_ENV = { |
| 22 'DEEP_MEMORY_PROFILE': '1', | 23 'DEEP_MEMORY_PROFILE': '1', |
| 23 'DEEP_MEMORY_PROFILE_UPLOAD': 'gs://chromium-endure/', | 24 'DEEP_MEMORY_PROFILE_UPLOAD': 'gs://chromium-endure/', |
| 24 'HEAP_PROFILE_ALLOCATION_INTERVAL': '0', | 25 'HEAP_PROFILE_ALLOCATION_INTERVAL': '0', |
| 25 'HEAP_PROFILE_INUSE_INTERVAL': '0', | 26 'HEAP_PROFILE_INUSE_INTERVAL': '0', |
| 26 'PERF_STATS_INTERVAL': '600', # 10 minutes | 27 'PERF_STATS_INTERVAL': '600', # 10 minutes |
| 27 'TEST_LENGTH': '7200', # 2 hours | 28 'TEST_LENGTH': '7200', # 2 hours |
| 28 } | 29 } |
| 29 | 30 |
| 30 _DBG_GCLIENT_ENV = { | 31 _DBG_GCLIENT_ENV = { |
| 31 'GYP_DEFINES': ('clang_type_profiler=1 ' | 32 'GYP_DEFINES': ('clang_type_profiler=1 ' |
| 32 'component=static_library ' | 33 'component=static_library ' |
| 33 'disable_debugallocation=1'), | 34 'disable_debugallocation=1'), |
| 34 'GYP_GENERATORS': 'ninja', | 35 'GYP_GENERATORS': 'ninja', |
| 35 } | 36 } |
| 36 | 37 |
| 37 ActiveMaster = config.Master.ChromiumEndure | 38 ActiveMaster = master_site_config.ChromiumEndure |
| 38 | 39 |
| 39 # This is the dictionary that the buildmaster pays attention to. We also use | 40 # This is the dictionary that the buildmaster pays attention to. We also use |
| 40 # a shorter alias to save typing. | 41 # a shorter alias to save typing. |
| 41 c = BuildmasterConfig = {} | 42 c = BuildmasterConfig = {} |
| 42 | 43 |
| 43 # Disable compression for the stdio files. | 44 # Disable compression for the stdio files. |
| 44 c['logCompressionLimit'] = False | 45 c['logCompressionLimit'] = False |
| 45 | 46 |
| 46 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 47 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
| 47 | 48 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 c['projectName'] = ActiveMaster.project_name | 297 c['projectName'] = ActiveMaster.project_name |
| 297 c['projectURL'] = config.Master.project_url | 298 c['projectURL'] = config.Master.project_url |
| 298 | 299 |
| 299 # The 'buildbotURL' string should point to the location where the buildbot's | 300 # The 'buildbotURL' string should point to the location where the buildbot's |
| 300 # internal web server (usually the html.Waterfall page) is visible. This | 301 # internal web server (usually the html.Waterfall page) is visible. This |
| 301 # typically uses the port number set in the Waterfall 'status' entry, but | 302 # typically uses the port number set in the Waterfall 'status' entry, but |
| 302 # with an externally-visible host name which the buildbot cannot figure out | 303 # with an externally-visible host name which the buildbot cannot figure out |
| 303 # without some help. | 304 # without some help. |
| 304 | 305 |
| 305 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.endure/' | 306 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.endure/' |
| OLD | NEW |