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

Side by Side Diff: masters/master.chromium.memory/master_linux_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
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(name='linux_asan_rel', 24 SingleBranchScheduler(name='linux_asan_rel',
15 branch='master', 25 branch='master',
16 treeStableTimer=60, 26 treeStableTimer=60,
17 builderNames=[ 27 builderNames=[
18 'Linux ASan LSan Builder' 28 'Linux ASan LSan Builder'
19 ]), 29 ]),
20 Triggerable(name='linux_asan_rel_trigger', builderNames=[ 30 Triggerable(name='linux_asan_rel_trigger', builderNames=[
21 'Linux ASan LSan Tests (1)', 31 'Linux ASan LSan Tests (1)',
22 'Linux ASan Tests (sandboxed)', 32 'Linux ASan Tests (sandboxed)',
23 ]), 33 ]),
24 ]) 34 ])
25 specs = [ 35 specs = [
26 { 36 {
27 'name': 'Linux ASan LSan Builder', 37 'name': 'Linux ASan LSan Builder',
28 'triggers': ['linux_asan_rel_trigger'], 38 'triggers': ['linux_asan_rel_trigger'],
29 }, 39 },
30 {'name': 'Linux ASan LSan Tests (1)'}, 40 {'name': 'Linux ASan LSan Tests (1)'},
31 {'name': 'Linux ASan Tests (sandboxed)'}, 41 {'name': 'Linux ASan Tests (sandboxed)'},
32 ] 42 ]
33 43
34 c['builders'].extend([ 44 c['builders'].extend([
35 { 45 {
36 'name': spec['name'], 46 'name': spec['name'],
37 'factory': m_annotator.BaseFactory( 47 'factory': m_remote_run('chromium', triggers=spec.get('triggers')),
38 spec.get('recipe', 'chromium'),
39 triggers=spec.get('triggers')),
40 'notify_on_missing': True, 48 'notify_on_missing': True,
41 'category': '1linux asan lsan', 49 'category': '1linux asan lsan',
42 } for spec in specs 50 } for spec in specs
43 ]) 51 ])
OLDNEW
« no previous file with comments | « masters/master.chromium.memory/master_chromeos_cfg.py ('k') | masters/master.chromium.memory/master_mac_cfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698