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

Unified Diff: masters/master.chromium.infra.cron/master.cfg

Issue 1880343003: Added git-hash-metrics builder and recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 8 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
Index: masters/master.chromium.infra.cron/master.cfg
diff --git a/masters/master.chromium.infra.cron/master.cfg b/masters/master.chromium.infra.cron/master.cfg
index 499946792eafd7f963c48a5ab368dc27ca3d3f91..cc911dcb65e95a8734d4dd4735fbffac47300282 100644
--- a/masters/master.chromium.infra.cron/master.cfg
+++ b/masters/master.chromium.infra.cron/master.cfg
@@ -39,6 +39,18 @@ f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster)
config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
+
+####### CHANGE SOURCES
+
+c['change_source'].extend([
+ gitiles_poller.GitilesPoller(
+ repo_url='https://chromium.googlesource.com/infra/infra',
+ project='infra',
+ branches=['master'],
+ pollInterval=10,
+ revlinktmpl=INFRA_REPO_URL+'/+/%s'),
+])
+
####### BUILDERS
c['builders'].extend([
@@ -153,6 +165,11 @@ c['builders'].extend([
'factory': f_annotations.BaseFactory(recipe='chromium_codesearch'),
'category': '2codesearch',
},
+ {
+ 'name': 'git-hash-metrics',
+ 'factory': f_annotations.BaseFactory(recipe='git_hash_metric'),
+ 'category': '3monitoring',
+ },
])
####### SCHEDULERS
@@ -197,6 +214,11 @@ c['schedulers'].extend([
hour=range(0, 24, 4),
minute=0,
builderNames=['Chromium Linux Codesearch', 'ChromiumOS Codesearch']),
+
+ # Trigger this builder on any change anywhere.
+ AnyBranchScheduler(
+ name='git-hash-metrics',
+ builderNames=['git-hash-metrics']),
])
####### BUILDSLAVES
« no previous file with comments | « no previous file | masters/master.chromium.infra.cron/slaves.cfg » ('j') | scripts/slave/recipes/infra/git_hash_metric.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698