| Index: masters/master.chromium.pyauto/master.cfg
|
| diff --git a/masters/master.chromium.pyauto/master.cfg b/masters/master.chromium.pyauto/master.cfg
|
| deleted file mode 100644
|
| index 634020f93b34b5826fa171d5972a21459dd61010..0000000000000000000000000000000000000000
|
| --- a/masters/master.chromium.pyauto/master.cfg
|
| +++ /dev/null
|
| @@ -1,175 +0,0 @@
|
| -# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style license that can be
|
| -# found in the LICENSE file.
|
| -
|
| -from buildbot.changes import svnpoller
|
| -from buildbot.scheduler import Scheduler
|
| -from buildbot.scheduler import Triggerable
|
| -
|
| -from master import build_utils
|
| -from master import master_config
|
| -from master import master_utils
|
| -from master import slaves_list
|
| -from master.factory import chromium_factory
|
| -
|
| -import config
|
| -
|
| -ActiveMaster = config.Master.ChromiumPyauto
|
| -
|
| -# This is the dictionary that the buildmaster pays attention to. We also use
|
| -# a shorter alias to save typing.
|
| -c = BuildmasterConfig = {}
|
| -
|
| -# Disable compression for the stdio files.
|
| -c['logCompressionLimit'] = False
|
| -
|
| -config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
|
| -
|
| -####### CHANGESOURCES
|
| -
|
| -def ChromeTreeFileSplitter(path):
|
| - """split_file for the 'src' project in the trunk."""
|
| -
|
| - # Exclude .DEPS.git from triggering builds on chrome.
|
| - if path == 'src/.DEPS.git':
|
| - return None
|
| -
|
| - # List of projects we are interested in. The project names must exactly
|
| - # match paths in the Subversion repository, relative to the 'path' URL
|
| - # argument. build_utils.SplitPath() will use them as branch names to
|
| - # kick off the Schedulers for different projects.
|
| - projects = ['src']
|
| - return build_utils.SplitPath(projects, path)
|
| -
|
| -# Polls config.Master.trunk_url for changes
|
| -chromium_rev = 'http://src.chromium.org/viewvc/chrome?view=rev&revision=%s'
|
| -trunk_poller = svnpoller.SVNPoller(svnurl=config.Master.trunk_url,
|
| - split_file=ChromeTreeFileSplitter,
|
| - pollinterval=10,
|
| - revlinktmpl=chromium_rev)
|
| -
|
| -c['change_source'] = [trunk_poller]
|
| -
|
| -
|
| -####### SCHEDULERS
|
| -
|
| -## configure the Schedulers
|
| -
|
| -# Main scheduler for all changes in trunk.
|
| -s_chromium = Scheduler(name='chromium',
|
| - branch='src',
|
| - treeStableTimer=60,
|
| - builderNames=['Win7 QA',
|
| - 'Mac 10.6 QA',
|
| - 'Linux QA',
|
| - 'Linux32 QA',
|
| - ])
|
| -
|
| -c['schedulers'] = [s_chromium]
|
| -
|
| -####### BUILDERS
|
| -
|
| -builders = []
|
| -
|
| -# ----------------------------------------------------------------------------
|
| -# FACTORIES
|
| -
|
| -m_win = chromium_factory.ChromiumFactory('src/build', 'win32')
|
| -m_linux = chromium_factory.ChromiumFactory('src/out', 'linux2')
|
| -m_mac = chromium_factory.ChromiumFactory('src/xcodebuild', 'darwin')
|
| -
|
| -# Some shortcut to simplify the code below.
|
| -F_WIN = m_win.ChromiumFactory
|
| -F_LINUX = m_linux.ChromiumFactory
|
| -F_MAC = m_mac.ChromiumFactory
|
| -
|
| -f_linux = F_LINUX(target='Release',
|
| - options=['chromium_builder_chromedriver'],
|
| - tests=['annotated_steps'],
|
| - factory_properties={
|
| - 'annotated_script': 'qa_buildbot_run.py',
|
| - 'use_xvfb_on_linux': True,
|
| - 'needs_webdriver_java_tests': True,
|
| - })
|
| -
|
| -f_win7 = F_WIN(slave_type='Builder',
|
| - project='all.sln;chromium_builder_chromedriver',
|
| - target='Release',
|
| - tests=['annotated_steps'],
|
| - factory_properties={
|
| - 'annotated_script': 'qa_buildbot_run.py',
|
| - 'trigger': 'win_trigger',
|
| - 'needs_webdriver_java_tests': True,
|
| - })
|
| -
|
| -f_mac_10_6 = F_MAC(slave_type='Builder',
|
| - target='Release',
|
| - options=['--', '-project', '../build/all.xcodeproj',
|
| - '-target', 'chromium_builder_chromedriver'],
|
| - tests=['annotated_steps'],
|
| - factory_properties={
|
| - 'annotated_script': 'qa_buildbot_run.py',
|
| - 'needs_webdriver_java_tests': True,
|
| - })
|
| -
|
| -# ----------------------------------------------------------------------------
|
| -# BUILDER DEFINITIONS
|
| -
|
| -b_win7 = {
|
| - 'name': 'Win7 QA',
|
| - 'factory': f_win7,
|
| - 'builddir': 'pyauto_win7',
|
| - 'auto_reboot': False
|
| -}
|
| -b_linux = {
|
| - 'name': 'Linux QA',
|
| - 'factory': f_linux,
|
| - 'auto_reboot': False
|
| -}
|
| -b_linux32 = {
|
| - 'name': 'Linux32 QA',
|
| - 'factory': f_linux,
|
| - 'auto_reboot': False
|
| -}
|
| -b_mac10_6 = {
|
| - 'name': 'Mac 10.6 QA',
|
| - 'factory': f_mac_10_6,
|
| - 'builddir': 'pyauto_mac_10_6',
|
| - 'auto_reboot': False
|
| -}
|
| -
|
| -c['builders'] = [
|
| - b_win7,
|
| - b_mac10_6,
|
| - b_linux,
|
| - b_linux32,
|
| -]
|
| -
|
| -# Associate the slaves to the manual builders. The configuration is in
|
| -# slaves.cfg.
|
| -slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPyauto')
|
| -for builder in c['builders']:
|
| - builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
|
| -
|
| -####### BUILDSLAVES
|
| -
|
| -# The 'slaves' list defines the set of allowable buildslaves. List all the
|
| -# slaves registered to a builder. Remove dupes.
|
| -c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
|
| - config.Master.GetBotPassword())
|
| -
|
| -# Make sure everything works together.
|
| -master_utils.VerifySetup(c, slaves)
|
| -
|
| -####### STATUS TARGETS
|
| -
|
| -# Adds common status and tools to this master.
|
| -master_utils.AutoSetupMaster(c, ActiveMaster,
|
| - public_html='../master.chromium/public_html',
|
| - templates=['../master.chromium/templates'],
|
| - enable_http_status_push=ActiveMaster.is_production_host)
|
| -
|
| -####### PROJECT IDENTITY
|
| -
|
| -# Buildbot master url:
|
| -c['buildbotURL'] = 'http://build.chromium.org/buildbot/pyauto/'
|
|
|