| Index: masters/master.client.webrtc.fyi/master_linux_cfg.py
|
| diff --git a/masters/master.client.webrtc.fyi/master_linux_cfg.py b/masters/master.client.webrtc.fyi/master_linux_cfg.py
|
| index cf08cbf012d04d4d6fd9479037b9c5b38d2d6bb2..4bd75f66c2b267777a74dd79bd40e45f3716af5b 100644
|
| --- a/masters/master.client.webrtc.fyi/master_linux_cfg.py
|
| +++ b/masters/master.client.webrtc.fyi/master_linux_cfg.py
|
| @@ -6,9 +6,24 @@ from buildbot.scheduler import Nightly
|
| from buildbot.schedulers.basic import SingleBranchScheduler
|
|
|
| from master.factory import annotator_factory
|
| +from master.factory import remote_run_factory
|
| +
|
| +import master_site_config
|
| +ActiveMaster = master_site_config.WebRTCFYI
|
| +
|
| +
|
| +def m_remote_run(recipe, **kwargs):
|
| + return remote_run_factory.RemoteRunFactory(
|
| + active_master=ActiveMaster,
|
| + repository='https://chromium.googlesource.com/chromium/tools/build.git',
|
| + recipe=recipe,
|
| + factory_properties={'path_config': 'kitchen'},
|
| + **kwargs)
|
| +
|
|
|
| m_annotator = annotator_factory.AnnotatorFactory()
|
|
|
| +
|
| def Update(c):
|
| c['schedulers'].extend([
|
| SingleBranchScheduler(name='webrtc_linux_scheduler',
|
| @@ -46,8 +61,9 @@ def Update(c):
|
| c['builders'].extend([
|
| {
|
| 'name': spec['name'],
|
| - 'factory': m_annotator.BaseFactory(spec.get('recipe',
|
| - 'webrtc/standalone')),
|
| + 'factory': m_annotator.BaseFactory(spec['recipe'])
|
| + if 'recipe' in spec
|
| + else m_remote_run('webrtc/standalone'),
|
| 'notify_on_missing': True,
|
| 'category': 'linux',
|
| 'slavebuilddir': spec['slavebuilddir'],
|
|
|