|
|
@@ -45,10 +45,10 @@ c['schedulers'].append(schedulers.SingleBranchScheduler( |
|
|
|
name="all", |
|
|
|
change_filter=util.ChangeFilter(branch='master'), |
|
|
|
treeStableTimer=None, |
|
|
|
builderNames=["runtests"])) |
|
|
|
builderNames=["covid-videoplattform"])) |
|
|
|
c['schedulers'].append(schedulers.ForceScheduler( |
|
|
|
name="force", |
|
|
|
builderNames=["runtests"])) |
|
|
|
builderNames=["covid-videoplattform"])) |
|
|
|
|
|
|
|
####### BUILDERS |
|
|
|
|
|
|
@@ -57,16 +57,14 @@ c['schedulers'].append(schedulers.ForceScheduler( |
|
|
|
# only take place on one worker. |
|
|
|
|
|
|
|
factory = util.BuildFactory() |
|
|
|
# check out the source |
|
|
|
factory.addStep(steps.Git(repourl='git://github.com/buildbot/hello-world.git', mode='incremental')) |
|
|
|
# run the tests (note that this will require that 'trial' is installed) |
|
|
|
factory.addStep(steps.ShellCommand(command=["trial", "hello"], |
|
|
|
env={"PYTHONPATH": "."})) |
|
|
|
factory.addStep(steps.GitHub(repourl='https://github.com/covid-videoplattform/covid-videoplattform.git', mode='incremental')) |
|
|
|
#factory.addStep(steps.ShellCommand(command=["trial", "hello"], |
|
|
|
# env={"PYTHONPATH": "."})) |
|
|
|
|
|
|
|
c['builders'] = [] |
|
|
|
c['builders'].append( |
|
|
|
util.BuilderConfig(name="runtests", |
|
|
|
workernames=["example-worker"], |
|
|
|
util.BuilderConfig(name="covid-videoplattform", |
|
|
|
workernames=["local-worker"], |
|
|
|
factory=factory)) |
|
|
|
|
|
|
|
####### BUILDBOT SERVICES |
|
|
@@ -82,8 +80,8 @@ c['services'] = [] |
|
|
|
# the 'title' string will appear at the top of this buildbot installation's |
|
|
|
# home pages (linked to the 'titleURL'). |
|
|
|
|
|
|
|
c['title'] = "Hello World CI" |
|
|
|
c['titleURL'] = "https://buildbot.github.io/hello-world/" |
|
|
|
c['title'] = "covid-videoplattform CICD" |
|
|
|
c['titleURL'] = "https://github.com/covid-videoplattform" |
|
|
|
|
|
|
|
# the 'buildbotURL' string should point to the location where the buildbot's |
|
|
|
# internal web server is visible. This typically uses the port number set in |
|
|
|