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

Unified Diff: master.nacl.chrome/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.chrome/buildbot.tac ('k') | master.nacl.chrome/public_html/announce.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master.nacl.chrome/master.cfg
===================================================================
--- master.nacl.chrome/master.cfg (revision 67605)
+++ master.nacl.chrome/master.cfg (working copy)
@@ -1,267 +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 .
-
-# This file follows this naming convention:
-# Factories: f_nacl_[dbg/opt/sdk]_[os]
-# Builders: b_nacl_[dbg/opt/sdk]_[os]
-# BuildDir: [dbg/opt/sdk]-[os]
-#
-# os = xp/linux/mac
-
-from buildbot import locks
-from buildbot.changes import svnpoller
-from buildbot.scheduler import Dependent
-from buildbot.scheduler import Scheduler
-from buildbot.scheduler import Triggerable
-
-# 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_factory
-from master.factory import chromium_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.NativeClientChrome
-
-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 NativeClientTreeFileSplitter(path):
- projects = ['native_client']
- 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_trunk_url + '/src',
- split_file=NativeClientTreeFileSplitter,
- 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_ch = chromium_factory.ChromiumFactory('src/build', 'win32')
-m_linux_ch = chromium_factory.ChromiumFactory('src/build', 'linux2')
-m_mac_ch = chromium_factory.ChromiumFactory('src/build', 'darwin')
-
-# Some shortcut to simplify the code below.
-F_WIN_CH = m_win_ch.ChromiumNativeClientLatestFactory
-F_LINUX_CH = m_linux_ch.ChromiumNativeClientLatestFactory
-F_MAC_CH = m_mac_ch.ChromiumNativeClientLatestFactory
-
-
-# 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 = []
-
-# Add Chromium integration factories.
-factories.append(['xp-nacl-chrome', '1Integration|info', F_WIN_CH(
- 'xp-nacl-chrome',
- mode='google_chrome',
- project='all.sln',
- clobber=True,
- compile_timeout=2400,
- tests=['unit', 'browser_tests', 'check_bins', 'nacl_ui'],
- factory_properties={'disable_mini_installer_test': True})
-])
-factories.append(['mac-nacl-chrome', '1Integration|info', F_MAC_CH(
- 'mac-nacl-chrome',
- mode='google_chrome',
- clobber=True,
- compile_timeout=2400,
- tests=['unit', 'ui', 'media', 'printing',
- 'browser_tests', 'googleurl', 'nacl_ui'],
- factory_properties={})
-])
-factories.append(['hardy64-nacl-chrome', '1Integration|info', F_LINUX_CH(
- 'hardy64-nacl-chrome',
- mode='google_chrome',
- clobber=True,
- compile_timeout=72000,
- tests=['unit', 'ui', 'googleurl', 'media', 'printing',
- 'sizes', 'test_shell', 'memory', 'browser_tests', 'startup',
- 'page_cycler', 'page_cycler_http', 'webkit_unit', 'nacl_ui'],
- options=['--build-tool=make', 'all'],
- factory_properties={
- 'gclient_env': {'GYP_GENERATORS' : 'make'}})
-])
-
-
-
-####### SCHEDULERS
-## configure the Schedulers
-# Main scheduler for all changes in trunk.
-primary_builders = []
-for f in factories:
- primary_builders.append(f[0])
-s_nacl = Scheduler(
- name='nacl',
- branch='native_client',
- treeStableTimer=60,
- builderNames=primary_builders,
-)
-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', 'NativeClientChrome')
-for f in factories:
- c['builders'].append({
- 'name': f[0],
- 'slavenames': slaves.GetSlavesName(builder=f[0]),
- 'builddir': f[0],
- 'factory': f[2],
- 'category': '%s' % f[1],
- # Don't enable auto_reboot for people testing locally.
- 'auto_reboot': ActiveMaster.is_production_host,
- })
- if f[0] == 'xp-m32-n32-sdk':
- c['builders'][-1]['max_builds'] = 2
-
-
-####### 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',
- 'clobber', 'clobber_packages',
- ],
- 'info': [],
- 'closer': [
- 'update scripts', 'update',
- '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'],
- }
- 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/'
« no previous file with comments | « master.nacl.chrome/buildbot.tac ('k') | master.nacl.chrome/public_html/announce.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698