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

Unified Diff: masters/master.chromium.memory/master_mac_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « masters/master.chromium.memory/master_linux_cfg.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: masters/master.chromium.memory/master_mac_cfg.py
diff --git a/masters/master.chromium.memory/master_mac_cfg.py b/masters/master.chromium.memory/master_mac_cfg.py
index 6d866821212f79de6df40844985d040cd257eebe..c15eef12dca8392097ff31edb5df4ecdb37e8261 100644
--- a/masters/master.chromium.memory/master_mac_cfg.py
+++ b/masters/master.chromium.memory/master_mac_cfg.py
@@ -5,9 +5,19 @@
from buildbot.scheduler import Triggerable
from buildbot.schedulers.basic import SingleBranchScheduler
-from master.factory import annotator_factory
+from master.factory import remote_run_factory
-m_annotator = annotator_factory.AnnotatorFactory()
+import master_site_config
+
+ActiveMaster = master_site_config.ChromiumMemory
+
+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)
def Update(_config, active_master, c):
c['schedulers'].extend([
@@ -32,9 +42,7 @@ def Update(_config, active_master, c):
c['builders'].extend([
{
'name': spec['name'],
- 'factory': m_annotator.BaseFactory(
- spec.get('recipe', 'chromium'),
- triggers=spec.get('triggers')),
+ 'factory': m_remote_run('chromium', triggers=spec.get('triggers')),
'notify_on_missing': True,
'category': '2mac asan',
} for spec in specs
« no previous file with comments | « masters/master.chromium.memory/master_linux_cfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698