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

Side by Side Diff: masters/master.chromium.gpu.fyi/master.cfg

Issue 74063005: Switched remaining GPU test bots to be pure testers, triggered by builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed stip's review feedback. Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | masters/master.chromium.gpu.fyi/slaves.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Dependent 6 from buildbot.scheduler import Dependent
7 from buildbot.scheduler import Scheduler
8 7
9 from common import chromium_utils 8 from common import chromium_utils
10 9
11 from master import build_utils 10 from master import build_utils
12 from master import master_config 11 from master import master_config
13 from master import master_utils 12 from master import master_utils
13 from master import recipe_master_helper
14 from master import slaves_list 14 from master import slaves_list
15 from master.factory import annotator_factory 15 from master.factory import annotator_factory
16 from master.factory import chromium_factory 16 from master.factory import chromium_factory
17 17
18 import config 18 import config
19 import master_site_config 19 import master_site_config
20 20
21 ActiveMaster = master_site_config.ChromiumGPUFYI 21 ActiveMaster = master_site_config.ChromiumGPUFYI
22 22
23 # This is the dictionary that the buildmaster pays attention to. We also use 23 # This is the dictionary that the buildmaster pays attention to. We also use
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 # produce the builders. 62 # produce the builders.
63 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumGPUFYI') 63 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumGPUFYI')
64 64
65 65
66 ####### SCHEDULERS 66 ####### SCHEDULERS
67 67
68 ## configure the Schedulers 68 ## configure the Schedulers
69 69
70 # Main scheduler for all changes in trunk. 70 # Main scheduler for all changes in trunk.
71 71
72 builderNames = sorted(slave['builder'] for slave in slaves.slaves) 72 trigger_name_map = recipe_master_helper.AddSchedulersAndTriggers(
73 s_gpu = Scheduler(name='gpu', 73 buildmaster_config=c, slave_list=slaves, scheduler_name='gpu', branch='src')
74 branch='src',
75 treeStableTimer=60,
76 builderNames=builderNames)
77 c['schedulers'] = [s_gpu]
78 74
79 ####### BUILDERS 75 ####### BUILDERS
80 76
81 builders = [] 77 builders = []
82 78
83 # ---------------------------------------------------------------------------- 79 # ----------------------------------------------------------------------------
84 # FACTORIES 80 # FACTORIES
85 81
86 m_annotator = annotator_factory.AnnotatorFactory() 82 m_annotator = annotator_factory.AnnotatorFactory()
87 83
(...skipping 30 matching lines...) Expand all
118 'content_unittests', 114 'content_unittests',
119 'media', 115 'media',
120 ], 116 ],
121 factory_properties={'test_results_server': 'test-results.appspot.com', 117 factory_properties={'test_results_server': 'test-results.appspot.com',
122 'generate_gtest_json': True}) 118 'generate_gtest_json': True})
123 119
124 120
125 # ---------------------------------------------------------------------------- 121 # ----------------------------------------------------------------------------
126 # BUILDER DEFINITIONS 122 # BUILDER DEFINITIONS
127 123
128 gpu_builders = [] 124 recipe_master_helper.AddRecipeBasedBuilders(
129 for slave in slaves.slaves: 125 c, slaves, m_annotator, trigger_name_map)
130 if 'recipe' in slave:
131 factory_properties = {
132 'test_results_server': 'test-results.appspot.com',
133 'generate_gtest_json': True,
134 'build_config': slave['build_config']
135 }
136 if 'perf_id' in slave:
137 factory_properties['show_perf_results'] = True
138 factory_properties['perf_id'] = slave['perf_id']
139 gpu_builders.append({
140 'name': slave['builder'],
141 'factory': m_annotator.BaseFactory(
142 slave['recipe'],
143 factory_properties)
144 })
145 126
146 b_win_audio = {'name': 'Win7 Audio', 127 b_win_audio = {'name': 'Win7 Audio',
147 'factory': f_win_audio_rel} 128 'factory': f_win_audio_rel}
148 129
149 b_linux_audio = {'name': 'Linux Audio', 130 b_linux_audio = {'name': 'Linux Audio',
150 'factory': f_linux_audio_rel} 131 'factory': f_linux_audio_rel}
151 132
152 # Order them by OS type, target type, and OS version. 133 # Order them by OS type, target type, and OS version.
153 c['builders'] = gpu_builders + [ b_win_audio, b_linux_audio ] 134 c['builders'] += [ b_win_audio, b_linux_audio ]
154 135
155 # Associate the slaves to the manual builders. The configuration is in 136 # Associate the slaves to the manual builders. The configuration is in
156 # slaves.cfg. 137 # slaves.cfg.
157 for builder in c['builders']: 138 for builder in c['builders']:
158 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) 139 builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
159 140
160 ####### BUILDSLAVES 141 ####### BUILDSLAVES
161 142
162 # The 'slaves' list defines the set of allowable buildslaves. List all the 143 # The 'slaves' list defines the set of allowable buildslaves. List all the
163 # slaves registered to a builder. Remove dupes. 144 # slaves registered to a builder. Remove dupes.
164 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], 145 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
165 config.Master.GetBotPassword()) 146 config.Master.GetBotPassword())
166 147
167 # Make sure everything works together. 148 # Make sure everything works together.
168 master_utils.VerifySetup(c, slaves) 149 master_utils.VerifySetup(c, slaves)
169 150
170 ####### STATUS TARGETS 151 ####### STATUS TARGETS
171 152
172 # Adds common status and tools to this master. 153 # Adds common status and tools to this master.
173 master_utils.AutoSetupMaster(c, ActiveMaster, 154 master_utils.AutoSetupMaster(c, ActiveMaster,
174 public_html='../master.chromium/public_html', 155 public_html='../master.chromium/public_html',
175 templates=['../master.chromium/templates'], 156 templates=['../master.chromium/templates'],
176 enable_http_status_push=ActiveMaster.is_production_host) 157 enable_http_status_push=ActiveMaster.is_production_host)
177 158
178 ####### PROJECT IDENTITY 159 ####### PROJECT IDENTITY
179 160
180 # Buildbot master url: 161 # Buildbot master url:
181 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.gpu.fyi/' 162 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.gpu.fyi/'
OLDNEW
« no previous file with comments | « no previous file | masters/master.chromium.gpu.fyi/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698