Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 43 lines (33 sloc) 1.445 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
gcal = {}

####### SCHEDULERS

# Configure the Schedulers, which decide how to react to incoming changes. In this

from buildbot.schedulers.basic import SingleBranchScheduler
from buildbot.changes import filter

gcal['schedulers'] = []
gcal['schedulers'].append(SingleBranchScheduler(
                            name="gcal-commit",
                            change_filter=filter.ChangeFilter(project='gcal'),
                            treeStableTimer=60,
                            builderNames=["gcal"]))

####### BUILDERS

# The 'builders' list defines the Builders, which tell Buildbot how to perform a build:
# what steps, and which slaves can execute them. Note that any particular build will
# only take place on one slave.

from buildbot.process.factory import BuildFactory
from buildbot.steps.source import Git
from buildbot.steps.shell import ShellCommand
from buildbot.config import BuilderConfig

from modules.dzil_steps.dzil import DzilAuthorDependencies, DzilDependencies, DzilSmokeVerbose

factory_gcal = BuildFactory()
# check out the source
factory_gcal.addStep(Git(repourl='git://github.com/andrewrjones/gcal.git', mode='copy'))
# update deps
factory_gcal.addStep(DzilAuthorDependencies())
factory_gcal.addStep(DzilDependencies())
# run the tests
factory_gcal.addStep(DzilSmokeVerbose())

gcal['builders'] = []
gcal['builders'].append(
    BuilderConfig(name="gcal",
      slavenames=["l1"],
      factory=factory_gcal))
Something went wrong with that request. Please try again.