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

Side by Side Diff: master/master_builders_cfg.py

Issue 12380071: Adding trybots for Periodic and PerCommit Housekeeper (Closed) Base URL: http://skia.googlecode.com/svn/buildbot/
Patch Set: Created 7 years, 9 months 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
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 # Sets up all the builders we want this buildbot master to run. 5 # Sets up all the builders we want this buildbot master to run.
6 6
7 from skia_master_scripts import factory as skia_factory 7 from skia_master_scripts import factory as skia_factory
8 from skia_master_scripts import housekeeping_percommit_factory
9 from skia_master_scripts import housekeeping_periodic_factory
10 from skia_master_scripts import utils 8 from skia_master_scripts import utils
11 from skia_master_scripts.utils import MakeBuilderSet, MakeAndroidBuilderSet, \ 9 from skia_master_scripts.utils import MakeBuilderSet, MakeAndroidBuilderSet, \
borenet 2013/03/01 20:53:00 Nit: since the rest have their own line, maybe mov
rmistry 2013/03/01 21:05:07 Done.
12 MakeChromeOSBuilderSet, MakeIOSBuilderSet 10 MakeChromeOSBuilderSet, \
11 MakeIOSBuilderSet, \
12 MakeHousekeeperBuilderSet
13 13
14 # Directory where we want to record performance data 14 # Directory where we want to record performance data
15 # 15 #
16 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url, 16 # TODO(epoger): consider changing to reuse existing config.Master.perf_base_url,
17 # config.Master.perf_report_url_suffix, etc. 17 # config.Master.perf_report_url_suffix, etc.
18 perf_output_basedir_linux = '../../../../perfdata' 18 perf_output_basedir_linux = '../../../../perfdata'
19 perf_output_basedir_mac = perf_output_basedir_linux 19 perf_output_basedir_mac = perf_output_basedir_linux
20 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata' 20 perf_output_basedir_windows = '..\\..\\..\\..\\perfdata'
21 21
22 defaults = {} 22 defaults = {}
23 23
24 def Update(config, active_master, c): 24 def Update(config, active_master, c):
25 helper = utils.SkiaHelper(defaults) 25 helper = utils.SkiaHelper(defaults)
26 B = helper.Builder
27 F = helper.Factory
28 26
29 # 27 #
30 # Default (per-commit) Scheduler for Skia. Only use this for builders which 28 # Default (per-commit) Scheduler for Skia. Only use this for builders which
31 # do not care about commits outside of SKIA_PRIMARY_SUBDIRS. 29 # do not care about commits outside of SKIA_PRIMARY_SUBDIRS.
32 # 30 #
33 helper.AnyBranchScheduler('skia_rel', branches=utils.SKIA_PRIMARY_SUBDIRS) 31 helper.AnyBranchScheduler('skia_rel', branches=utils.SKIA_PRIMARY_SUBDIRS)
34 32
35 # 33 #
36 # Periodic Scheduler for Skia. The buildbot master follows UTC. 34 # Periodic Scheduler for Skia. The buildbot master follows UTC.
37 # Setting it to 7AM UTC (2 AM EST). 35 # Setting it to 7AM UTC (2 AM EST).
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 do_upload_results=do_upload_results, 264 do_upload_results=do_upload_results,
267 target_platform=skia_factory.TARGET_PLATFORM_MAC, 265 target_platform=skia_factory.TARGET_PLATFORM_MAC,
268 environment_variables={'GYP_DEFINES': 'skia_os=ios'}, 266 environment_variables={'GYP_DEFINES': 'skia_os=ios'},
269 gm_image_subdir=None, 267 gm_image_subdir=None,
270 perf_output_basedir=None, 268 perf_output_basedir=None,
271 do_release=False, 269 do_release=False,
272 do_bench=False) 270 do_bench=False)
273 271
274 # House Keeping 272 # House Keeping
275 defaults['category'] = ' housekeeping' 273 defaults['category'] = ' housekeeping'
276 B('Skia_PerCommit_House_Keeping', 'f_skia_percommit_house_keeping', 274 MakeHousekeeperBuilderSet(
277 scheduler='skia_rel') 275 helper=helper,
278 F('f_skia_percommit_house_keeping', 276 do_trybots=True,
279 housekeeping_percommit_factory.HouseKeepingPerCommitFactory( 277 do_upload_results=do_upload_results)
280 do_upload_results=do_upload_results,
281 target_platform=skia_factory.TARGET_PLATFORM_LINUX,
282 builder_name='Skia_PerCommit_House_Keeping',
283 ).Build())
284 B('Skia_Periodic_House_Keeping', 'f_skia_periodic_house_keeping',
285 scheduler='skia_periodic')
286 F('f_skia_periodic_house_keeping',
287 housekeeping_periodic_factory.HouseKeepingPeriodicFactory(
288 do_upload_results=do_upload_results,
289 target_platform=skia_factory.TARGET_PLATFORM_LINUX,
290 builder_name='Skia_Periodic_House_Keeping',
291 ).Build())
292 278
293 # "Special" bots, running on Linux 279 # "Special" bots, running on Linux
294 defaults['category'] = 'Linux-Special' 280 defaults['category'] = 'Linux-Special'
295 MakeBuilderSet( 281 MakeBuilderSet(
296 helper=helper, 282 helper=helper,
297 builder_base_name='Skia_Linux_NoGPU_%s_32', 283 builder_base_name='Skia_Linux_NoGPU_%s_32',
298 do_upload_results=do_upload_results, 284 do_upload_results=do_upload_results,
299 target_platform=skia_factory.TARGET_PLATFORM_LINUX, 285 target_platform=skia_factory.TARGET_PLATFORM_LINUX,
300 environment_variables= 286 environment_variables=
301 {'GYP_DEFINES': 'skia_scalar=float skia_gpu=0 skia_arch_width=64'}, 287 {'GYP_DEFINES': 'skia_scalar=float skia_gpu=0 skia_arch_width=64'},
(...skipping 12 matching lines...) Expand all
314 target_platform=skia_factory.TARGET_PLATFORM_LINUX, 300 target_platform=skia_factory.TARGET_PLATFORM_LINUX,
315 environment_variables= 301 environment_variables=
316 {'GYP_DEFINES': 'skia_arch_width=32 skia_gpu=0'}, 302 {'GYP_DEFINES': 'skia_arch_width=32 skia_gpu=0'},
317 gm_image_subdir=None, 303 gm_image_subdir=None,
318 perf_output_basedir=None, # no perf measurement for debug builds 304 perf_output_basedir=None, # no perf measurement for debug builds
319 bench_pictures_cfg='no_gpu', 305 bench_pictures_cfg='no_gpu',
320 do_release=False, 306 do_release=False,
321 do_bench=False) 307 do_bench=False)
322 308
323 return helper.Update(c) 309 return helper.Update(c)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698