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

Side by Side Diff: masters/master.chromium.memory/master_chromeos_cfg.py

Issue 2160573002: chromium.memory: convert to remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | masters/master.chromium.memory/master_linux_cfg.py » ('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.scheduler import Triggerable 5 from buildbot.scheduler import Triggerable
6 from buildbot.schedulers.basic import SingleBranchScheduler 6 from buildbot.schedulers.basic import SingleBranchScheduler
7 7
8 from master.factory import annotator_factory 8 from master.factory import remote_run_factory
9 9
10 m_annotator = annotator_factory.AnnotatorFactory() 10 import master_site_config
11
12 ActiveMaster = master_site_config.ChromiumMemory
13
14 def m_remote_run(recipe, **kwargs):
15 return remote_run_factory.RemoteRunFactory(
16 active_master=ActiveMaster,
17 repository='https://chromium.googlesource.com/chromium/tools/build.git',
18 recipe=recipe,
19 factory_properties={'path_config': 'kitchen'},
20 **kwargs)
11 21
12 def Update(_config, active_master, c): 22 def Update(_config, active_master, c):
13 c['schedulers'].extend([ 23 c['schedulers'].extend([
14 SingleBranchScheduler( 24 SingleBranchScheduler(
15 name='chromeos_asan_rel', 25 name='chromeos_asan_rel',
16 branch='master', 26 branch='master',
17 treeStableTimer=60, 27 treeStableTimer=60,
18 builderNames=['Linux Chromium OS ASan LSan Builder']), 28 builderNames=['Linux Chromium OS ASan LSan Builder']),
19 Triggerable( 29 Triggerable(
20 name='chromeos_asan_rel_trigger', 30 name='chromeos_asan_rel_trigger',
21 builderNames=['Linux Chromium OS ASan LSan Tests (1)']), 31 builderNames=['Linux Chromium OS ASan LSan Tests (1)']),
22 ]) 32 ])
23 33
24 specs = [ 34 specs = [
25 { 35 {
26 'name': 'Linux Chromium OS ASan LSan Builder', 36 'name': 'Linux Chromium OS ASan LSan Builder',
27 'triggers': ['chromeos_asan_rel_trigger'] 37 'triggers': ['chromeos_asan_rel_trigger']
28 }, 38 },
29 {'name': 'Linux Chromium OS ASan LSan Tests (1)'}, 39 {'name': 'Linux Chromium OS ASan LSan Tests (1)'},
30 ] 40 ]
31 41
32 c['builders'].extend([ 42 c['builders'].extend([
33 { 43 {
34 'name': spec['name'], 44 'name': spec['name'],
35 'factory': m_annotator.BaseFactory('chromium', 45 'factory': m_remote_run('chromium', triggers=spec.get('triggers')),
36 triggers=spec.get('triggers')),
37 'notify_on_missing': True, 46 'notify_on_missing': True,
38 'category': '3chromeos asan', 47 'category': '3chromeos asan',
39 } for spec in specs 48 } for spec in specs
40 ]) 49 ])
OLDNEW
« no previous file with comments | « no previous file | masters/master.chromium.memory/master_linux_cfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698