From 5b764a21f60783fe6d81130dc5756dcc9621c470 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 28 Mar 2020 16:31:07 +0100 Subject: [PATCH] covid-videoplattform config --- templates/buildbot/master.cfg.j2 | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/templates/buildbot/master.cfg.j2 b/templates/buildbot/master.cfg.j2 index a79fbd1..04a0058 100644 --- a/templates/buildbot/master.cfg.j2 +++ b/templates/buildbot/master.cfg.j2 @@ -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