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

Side by Side Diff: masters/master.client.webm/master.cfg

Issue 5285010: Add a basic configuration (gclient sync + build) for pagespeed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: '' Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from buildbot.changes import svnpoller
6 from buildbot.scheduler import Scheduler
7
8 from master import build_utils
9 from master import master_utils
10 from master import slaves_list
11 from master.factory import webm_factory
12
13 import config
14
15 ActiveMaster = config.Master.WebM
16
17 # This is the dictionary that the buildmaster pays attention to. We also use
18 # a shorter alias to save typing.
19 c = BuildmasterConfig = {}
20
21 # Disable compression for the stdio files.
22 c['logCompressionLimit'] = False
23
24
25 ####### POLLERS
26
27 # No poller set up yet.
28 c['change_source'] = []
29
30 ####### SCHEDULERS
31
32 ## configure the Schedulers
33
34 # No scheduler set up yet.
35 c['schedulers'] = []
36
37
38 ####### BUILDERS
39
40 builders = []
41
42 # ----------------------------------------------------------------------------
43 # FACTORIES
44
45 m_win = webm_factory.WebMFactory('src/build', 'win32')
46 m_linux = webm_factory.WebMFactory('src/build', 'linux2')
47 m_mac = webm_factory.WebMFactory('src/build', 'darwin')
48
49 # Some shortcut to simplify the code below.
50 F_WIN = m_win.WebMFactory
51 F_LINUX = m_linux.WebMFactory
52 F_MAC = m_mac.WebMFactory
53
54 f_linux = F_LINUX('webm-rel-linux',
55 target='Release',
56 options=[],
57 tests=[])
58
59 f_win = F_WIN('webm-rel-windows',
60 target='Release',
61 tests=[])
62
63 f_mac = F_MAC('webm-rel-mac',
64 target='Release',
65 tests=[])
66
67
68 # ----------------------------------------------------------------------------
69 # BUILDER DEFINITIONS
70
71 b_windows = {'name': 'Windows', 'factory': f_win}
72 b_linux = {'name': 'Linux', 'factory': f_linux}
73
74 c['builders'] = [
75 b_windows,
76 b_linux,
77 ]
78
79 # Associate the slaves to the manual builders. The configuration is in
80 # slaves.cfg.
81 slaves = slaves_list.SlavesList('slaves.cfg', 'WebM')
82 for builder in c['builders']:
83 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
84
85 ####### BUILDSLAVES
86
87 # The 'slaves' list defines the set of allowable buildslaves. List all the
88 # slaves registered to a builder. Remove dupes.
89 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
90 config.Master.GetBotPassword())
91
92 # Make sure everything works together.
93 master_utils.VerifySetup(c, slaves)
94
95 ####### STATUS TARGETS
96
97 # Adds common status and tools to this master.
98 master_utils.AutoSetupMaster(c, ActiveMaster)
99
100 ####### PROJECT IDENTITY
101
102 # Buildbot master url:
103 c['buildbotURL'] = 'http://build.chromium.org/p/client.webm'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698