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

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: Fixed presubmit errors 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
« no previous file with comments | « no previous file | masters/master.chromium.infra.cron/slaves.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..72b4f88916dd7a104f997e1ecb9b2204b45c2c52 100644
--- a/masters/master.chromium.infra.cron/master.cfg
+++ b/masters/master.chromium.infra.cron/master.cfg
@@ -9,10 +9,12 @@ import config
import master_site_config
from buildbot.scheduler import Periodic
+from buildbot.schedulers.basic import AnyBranchScheduler
from buildbot.schedulers.timed import Nightly
from buildbot.status import mail
from master import exception_notifier
+from master import gitiles_poller
from master import master_utils
from master import slaves_list
from master.factory import annotator_factory
@@ -39,6 +41,19 @@ f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster)
config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
+
+####### CHANGE SOURCES
+INFRA_REPO_URL = 'https://chromium.googlesource.com/infra/infra'
+
+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 +168,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 +217,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698