[zorg] r375205 - Add LLVMGitPoller to listen for changes in the monorepo.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 22:55:51 PDT 2019
Author: gkistanova
Date: Thu Oct 17 22:55:51 2019
New Revision: 375205
URL: http://llvm.org/viewvc/llvm-project?rev=375205&view=rev
Log:
Add LLVMGitPoller to listen for changes in the monorepo.
Modified:
zorg/trunk/buildbot/osuosl/master/master.cfg
Modified: zorg/trunk/buildbot/osuosl/master/master.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/master.cfg?rev=375205&r1=375204&r2=375205&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/master.cfg (original)
+++ zorg/trunk/buildbot/osuosl/master/master.cfg Thu Oct 17 22:55:51 2019
@@ -32,11 +32,10 @@ c['slavePortnum'] = 9990
####### CHANGESOURCES
from buildbot.changes.pb import PBChangeSource
-from zorg.buildbot.changes.llvmpoller import LLVMPoller
+from zorg.buildbot.changes.llvmgitpoller import LLVMPoller as llvmgitpoller
+from zorg.buildbot.changes.llvmpoller import LLVMPoller as llvmsvnpoller
-c['change_source'] = [PBChangeSource()]
-
-c['change_source'].append(LLVMPoller(projects=[
+llvm_projects = [
"llvm",
"cfe",
"clang-tests-external",
@@ -50,7 +49,16 @@ c['change_source'].append(LLVMPoller(pro
"lldb",
"openmp",
"lnt",
- "test-suite"]))
+ "test-suite"]
+
+c['change_source'] = [PBChangeSource()]
+c['change_source'].append(
+ llvmsvnpoller(projects=llvm_projects))
+c['change_source'].append(
+ llvmgitpoller(projects=llvm_projects,
+ repourl='http://git.lab.llvm.org/llvm/llvm-project.git',
+ workdir='gitpoller-workdir',
+ pollinterval=120))
####### RESOURCE USAGE
@@ -114,7 +122,7 @@ def depends_on(projects):
"""
Returns a ChangeFilter for the given projects.
"""
- return ChangeFilter(project=projects)
+ return ChangeFilter(project=projects, branch='trunk')
def get_standard_for(category):
"""
@@ -169,14 +177,6 @@ c['schedulers'].append(SingleBranchSched
"llvm",
"polly"])))
-# All other lld builders use auto-generated schedulers.
-c['schedulers'].append(SingleBranchScheduler(name="lld_scheduler",
- treeStableTimer=2*60,
- builderNames=["lld-sphinx-docs"],
- change_filter=depends_on([
- "llvm",
- "lld"])))
-
c['schedulers'].append(SingleBranchScheduler(name="lldb_scheduler",
treeStableTimer=2*60,
builderNames=get_all_for("lldb"),
More information about the llvm-commits
mailing list