| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2014 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 # Sets up all the builders we want the FYI buildbot master to run. | |
| 6 | |
| 7 | |
| 8 #pylint: disable=C0301 | |
| 9 | |
| 10 | |
| 11 from master_builders_cfg import HousekeepingBuilder, LINUX | |
| 12 from master_builders_cfg import S_PERCOMMIT, S_NIGHTLY, S_15MINS | |
| 13 | |
| 14 from skia_master_scripts.auto_roll_factory import AutoRollFactory as f_autoroll | |
| 15 from skia_master_scripts.housekeeping_monitoring_factory import \ | |
| 16 HouseKeepingMonitoringFactory as f_monitor | |
| 17 from skia_master_scripts.housekeeping_percommit_factory import \ | |
| 18 HouseKeepingPerCommitFactory as f_percommit | |
| 19 from skia_master_scripts.housekeeping_periodic_factory import \ | |
| 20 HouseKeepingPeriodicFactory as f_periodic | |
| 21 from skia_master_scripts.recreate_skps_factory import \ | |
| 22 RecreateSKPsFactory as f_skps | |
| 23 | |
| 24 import master_builders_cfg | |
| 25 | |
| 26 | |
| 27 def setup_all_builders(helper, do_upload_render_results, | |
| 28 do_upload_bench_results): | |
| 29 """Set up all builders for the FYI master. | |
| 30 | |
| 31 Args: | |
| 32 helper: instance of utils.SkiaHelper | |
| 33 do_upload_render_results: bool; whether the builders should upload their | |
| 34 render results. | |
| 35 do_upload_bench_results: bool; whether the builders should upload their | |
| 36 bench results. | |
| 37 """ | |
| 38 # | |
| 39 # HOUSEKEEPING BUILDERS | |
| 40 # | |
| 41 # Frequency, Extra Config, Factory, Target, Scheduler, Ext
ra Args | |
| 42 # | |
| 43 housekeepers = [ | |
| 44 ('PerCommit', None, f_percommit, LINUX, S_PERCOMMIT, {})
, | |
| 45 ('PerCommit', 'AutoRoll', f_autoroll, LINUX, S_15MINS, {})
, | |
| 46 ('Nightly', None, f_periodic, LINUX, S_NIGHTLY, {})
, | |
| 47 ('Nightly', 'Monitoring', f_monitor, LINUX, S_NIGHTLY, {})
, | |
| 48 ('Nightly', 'RecreateSKPs', f_skps, LINUX, S_NIGHTLY, {})
, | |
| 49 ] | |
| 50 | |
| 51 master_builders_cfg.setup_builders_from_config_list(housekeepers, helper, | |
| 52 do_upload_render_results, | |
| 53 do_upload_bench_results, | |
| 54 HousekeepingBuilder) | |
| OLD | NEW |