From 3eb3260426ccda3d887b24924c72786c70b104e1 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 11 May 2020 13:30:13 +0200 Subject: [PATCH] only one single repo per builder for now --- templates/buildbot/master.cfg.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/buildbot/master.cfg.j2 b/templates/buildbot/master.cfg.j2 index bb0365a..506111f 100644 --- a/templates/buildbot/master.cfg.j2 +++ b/templates/buildbot/master.cfg.j2 @@ -85,7 +85,8 @@ c['schedulers'].append(schedulers.ForceScheduler( {% set builder = buildbot_builders[builder_name] %} factory = util.BuildFactory() -{% for repo in builder.repos %} +{#{% for repo in builder.repos %}#} +{% set repo = builder.repo %} {% if repo.type | default('github') == 'github' %} factory.addStep(steps.GitHub( name='{{repo.name}}', @@ -100,12 +101,11 @@ name='{{repo.name}}', repourl='{{repo.repourl}}', mode='incremental', workdir='{{repo.workdir}}', - branch='{{repo.branch|default('master')}}', progress=True, logEnviron=False, )) {% endif %} -{% endfor %} +{#{% endfor %}#} {% for cmd in builder.shell_commands %} factory.addStep(steps.ShellCommand(