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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | masters/master.chromium.memory/master_linux_cfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: masters/master.chromium.memory/master_chromeos_cfg.py
diff --git a/masters/master.chromium.memory/master_chromeos_cfg.py b/masters/master.chromium.memory/master_chromeos_cfg.py
index 90ce091a428e5472959244535e0fb91c309b92f1..06856eddfbc01a01eb72c597d5d53c97853d79e8 100644
--- a/masters/master.chromium.memory/master_chromeos_cfg.py
+++ b/masters/master.chromium.memory/master_chromeos_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,8 +42,7 @@ def Update(_config, active_master, c):
c['builders'].extend([
{
'name': spec['name'],
- 'factory': m_annotator.BaseFactory('chromium',
- triggers=spec.get('triggers')),
+ 'factory': m_remote_run('chromium', triggers=spec.get('triggers')),
'notify_on_missing': True,
'category': '3chromeos asan',
} for spec in specs
« 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