Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: master.nacl.sdk/master.cfg

Issue 5329006: Delete obsolete masters from tools/buildbot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/buildbot/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « master.nacl.sdk/buildbot.tac ('k') | master.nacl.sdk/public_html/announce.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master.nacl.sdk/master.cfg
===================================================================
--- master.nacl.sdk/master.cfg (revision 67605)
+++ master.nacl.sdk/master.cfg (working copy)
@@ -1,249 +0,0 @@
-# -*- python -*-
-# ex: set syntax=python:
-
-# Copyright (c) 2006-2008 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.
-
-# This is the buildmaster config file for the 'nacl' bot. It must
-# be installed as 'master.cfg' in your buildmaster's base directory
-# (although the filename can be changed with the --basedir option to
-# 'mktap buildbot master').
-
-# It has one job: define a dictionary named BuildmasterConfig. This
-# dictionary has a variety of keys to control different aspects of the
-# buildmaster. They are documented in docs/config.xhtml .
-
-
-from buildbot import locks
-from buildbot.changes import svnpoller
-from buildbot.scheduler import Dependent
-from buildbot.scheduler import Scheduler
-
-# Reload all the python files under master and common
-import master
-reload(master)
-import common
-reload(common)
-
-# These modules come from scripts/master, which must be in the PYTHONPATH.
-import build_utils
-import chromium_step
-import master_utils
-from master.factory import nacl_sdk_factory
-import slaves_list
-
-# These modules come from scripts/common, which must be in the PYTHONPATH.
-import chromium_config as config
-import chromium_utils
-
-ActiveMaster = config.Master.NativeClientSDK
-
-TREE_GATE_KEEPER = ActiveMaster.is_production_host
-GOOD_REVISIONS = False
-
-# This is the dictionary that the buildmaster pays attention to. We also use
-# a shorter alias to save typing.
-c = BuildmasterConfig = {}
-
-
-####### CHANGESOURCES
-
-# the 'change_source' list tells the buildmaster how it should find out about
-# source code changes. Any class which implements IChangeSource can be added
-# to this list: there are several in buildbot/changes/*.py to choose from.
-def NativeClientSDKTreeFileSplitter(path):
- """split_file for the 'src' project in the trunk."""
-
- projects = ['src']
- for p in projects:
- if path.startswith(p + '/'):
- return (p, path[len(p)+1:])
- return None
-
-# Polls config.Master.nacl_trunk_url for changes
-trunk_poller = svnpoller.SVNPoller(svnurl=config.Master.nacl_sdk_trunk_url,
- split_file=NativeClientSDKTreeFileSplitter,
- pollinterval=10)
-
-c['change_source'] = [trunk_poller]
-
-
-####### BUILDERS
-
-# buildbot/process/factory.py provides several BuildFactory classes you can
-# start with, which implement build processes for common targets (GNU
-# autoconf projects, CPAN perl modules, etc). The factory.BuildFactory is the
-# base class, and is configured with a series of BuildSteps. When the build
-# is run, the appropriate buildslave is told to execute each Step in turn.
-
-# the first BuildStep is typically responsible for obtaining a copy of the
-# sources. There are source-obtaining Steps in buildbot/process/step.py for
-# CVS, SVN, and others.
-
-
-# ----------------------------------------------------------------------------
-# FACTORIES
-
-m_win = nacl_sdk_factory.NativeClientSDKFactory(
- 'native_client_sdk', 'wincyg')
-m_linux = nacl_sdk_factory.NativeClientSDKFactory(
- 'native_client_sdk', 'linux2')
-m_mac = nacl_sdk_factory.NativeClientSDKFactory(
- 'native_client_sdk', 'darwin')
-
-# Some shortcut to simplify the code below.
-F_WIN = m_win.NativeClientSDKFactory
-F_LINUX = m_linux.NativeClientSDKFactory
-F_MAC = m_mac.NativeClientSDKFactory
-
-
-# The identifier of the factory is the build configuration. If two factories
-# are using the same build configuration, they should have the same identifier.
-
-# BuilderTesters using a custom build configuration.
-factories = []
-# SDKs
-archive_dst_base = 'nacl_archive/sdk'
-archive_dst = '%(got_revision)s/'
-archive_dst_latest = 'latest/'
-factories.append(['windows-sdk', '1SDK', F_WIN(
- 'windows-sdk', clobber=True,
- factory_properties={
- 'archive_build': True,
- 'archive_src': 'nacl-sdk.exe',
- 'archive_dst_base': archive_dst_base,
- 'archive_dst': archive_dst + 'naclsdk_win.exe',
- 'archive_dst_latest': archive_dst_latest + 'naclsdk_win.exe',
- })])
-factories.append(['mac-sdk', '1SDK', F_MAC(
- 'mac-sdk', clobber=True,
- factory_properties={
- 'archive_build': True,
- 'archive_src': 'nacl-sdk.tgz',
- 'archive_dst_base': archive_dst_base,
- 'archive_dst': archive_dst + 'naclsdk_mac.tgz',
- 'archive_dst_latest': archive_dst_latest + 'naclsdk_mac.tgz',
- })])
-factories.append(['linux-sdk', '1SDK', F_LINUX(
- 'linux-sdk', clobber=True,
- factory_properties={
- 'archive_build': True,
- 'archive_src': 'nacl-sdk.tgz',
- 'archive_dst_base': archive_dst_base,
- 'archive_dst': archive_dst + 'naclsdk_linux.tgz',
- 'archive_dst_latest': archive_dst_latest + 'naclsdk_linux.tgz',
- })])
-
-
-####### SCHEDULERS
-## configure the Schedulers
-# Main scheduler for all changes in trunk.
-s_nacl = Scheduler(
- name='nacl',
- branch='src',
- treeStableTimer=60,
- builderNames=[f[0] for f in factories],
-)
-c['schedulers'] = [s_nacl]
-
-
-# ----------------------------------------------------------------------------
-# BUILDER DEFINITIONS
-
-# The 'builders' list defines the Builders. Each one is configured with a
-# dictionary, using the following keys:
-# name (required): the name used to describe this bilder
-# slavename (required): which slave to use, must appear in c['slaves']
-# builddir (required): which subdirectory to run the builder in
-# factory (required): a BuildFactory to define how the build is run
-# periodicBuildTime (optional): if set, force a build every N seconds
-# category (optional): it is not used in the normal 'buildbot' meaning. It is
-# used by gatekeeper to determine which steps it should
-# look for to close the tree.
-#
-
-c['builders'] = []
-slaves = slaves_list.SlavesList('slaves.cfg', 'NativeClientSDK')
-for f in factories:
- c['builders'].append({
- 'name': f[0],
- 'slavenames': slaves.GetSlavesName(builder=f[0]),
- 'builddir': f[0],
- 'factory': f[2],
- 'category': '%s|full' % f[1],
- # Don't enable auto_reboot for people testing locally.
- 'auto_reboot': ActiveMaster.is_production_host,
- })
-
-
-####### 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)
-
-# Add more.
-
-if TREE_GATE_KEEPER:
- import gatekeeper
- # This is the list of the builder categories and the corresponding critical
- # steps. If one critical step fails, gatekeeper will close the tree
- # automatically.
- categories_steps = {
- '': ['update scripts', 'update'],
- 'full': ['clobber', 'clobber_packages', 'precompile', 'compile',
- 'scons_compile', 'gyp_compile', 'build_packages',
- 'cooking_tarball', 'selenium',
- 'small_tests', 'medium_tests', 'large_tests',
- 'hand_tests', 'smoke_tests',
- 'backup_plugin', 'install_plugin', 'start_vncserver',
- 'stop_vncserver', 'restore_plugin'],
- 'experimental': [],
- }
- exclusions = { }
- forgiving_steps = ['update scripts', 'update', 'svnkill', 'taskkill',
- 'archived build']
- c['status'].append(gatekeeper.GateKeeper(
- fromaddr=ActiveMaster.from_address,
- categories_steps=categories_steps,
- exclusions=exclusions,
- relayhost=config.Master.smtp,
- subject='buildbot %(result)s in %(projectName)s on %(builder)s, '
- 'revision %(revision)s',
- extraRecipients=ActiveMaster.tree_closing_notification_recipients,
- tree_status_url=ActiveMaster.tree_status_url,
- lookup=master_utils.FilterDomain(),
- forgiving_steps=forgiving_steps))
-
-if GOOD_REVISIONS:
- import goodrevisions
- # This is the list of builders with their respective list of critical steps
- # that all need to succeed to mark a revision as successful. A single failure
- # in any of the steps of any of the builders will mark the revision as failed.
- all_steps = [
- 'update',
- 'compile',
- 'small_tests',
- 'medium_tests',
- 'large_tests',
- ]
- c['status'].append(goodrevisions.GoodRevisions(
- good_revision_steps={'': all_steps},
- store_revisions_url=ActiveMaster.store_revisions_url))
-
-
-####### PROJECT IDENTITY
-
-# Buildbot master url:
-c['buildbotURL'] = 'http://buildbot.jail.google.com/buildbot/nacl-sdk/'
« no previous file with comments | « master.nacl.sdk/buildbot.tac ('k') | master.nacl.sdk/public_html/announce.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698