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

Side by Side Diff: masters/master.client.webrtc.fyi/master_source_cfg.py

Issue 23231004: WebRTC FYI waterfall (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from master import build_utils 5 from master import build_utils
6 6
7 from buildbot.changes import svnpoller 7 from buildbot.changes import svnpoller
8 8
9 9
10 def WebRTCFileSplitter(path): 10 def WebRTCFileSplitter(path):
11 """Splits the SVN path into branch and filename sections.""" 11 """Splits the SVN path into branch and filename sections."""
12 12
13 # List of projects we are interested in. The project names must exactly 13 # List of projects we are interested in. The project names must exactly
14 # match paths in the Subversion repository, relative to the 'path' URL 14 # match paths in the Subversion repository, relative to the 'path' URL
15 # argument. build_utils.SplitPath() will use them as branch names to 15 # argument. build_utils.SplitPath() will use them as branch names to
16 # kick off the Schedulers for different projects. 16 # kick off the Schedulers for different projects.
17 projects = ['trunk'] 17 projects = ['trunk']
18 return build_utils.SplitPath(projects, path) 18 return build_utils.SplitPath(projects, path)
19 19
20 20
21 def Update(config, c): 21 def Update(config, c):
22 poller = svnpoller.SVNPoller( 22 poller = svnpoller.SVNPoller(
23 svnurl=config.Master.webrtc_url, 23 svnurl=config.Master.webrtc_url,
24 split_file=WebRTCFileSplitter, 24 split_file=WebRTCFileSplitter,
25 pollinterval=30, 25 pollinterval=30,
26 histmax=10, 26 histmax=10,
27 revlinktmpl='http://code.google.com/p/webrtc/source/detail?r=%s') 27 revlinktmpl='http://code.google.com/p/webrtc/source/detail?r=%s')
28 c['change_source'].append(poller) 28 c['change_source'].append(poller)
OLDNEW
« no previous file with comments | « masters/master.client.webrtc.fyi/master_site_config.py ('k') | masters/master.client.webrtc.fyi/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698