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

Unified Diff: masters/master.chromium.mac/master_ios_cfg.py

Issue 2228903002: chromium.mac: convert ios/unified_builder_tester builders to remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: masters/master.chromium.mac/master_ios_cfg.py
diff --git a/masters/master.chromium.mac/master_ios_cfg.py b/masters/master.chromium.mac/master_ios_cfg.py
index 5f0c96cf86fcaa2b6e39bdfdc25009591e89d22f..303f6c2e8068916f26dcb39ec75c2fc0fea1cb20 100644
--- a/masters/master.chromium.mac/master_ios_cfg.py
+++ b/masters/master.chromium.mac/master_ios_cfg.py
@@ -4,9 +4,20 @@
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.ChromiumMac
+
+
+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(config, active_master, c):
c['schedulers'].extend([
@@ -26,9 +37,7 @@ def Update(config, active_master, c):
c['builders'].extend([
{
'name': spec['name'],
- 'factory': m_annotator.BaseFactory(
- 'ios/unified_builder_tester',
- factory_properties=spec.get('factory_properties')),
+ 'factory': m_remote_run('ios/unified_builder_tester'),
'notify_on_missing': True,
'category': '3mac',
} for spec in specs
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698