瀏覽代碼

only one single repo per builder for now

covid-videoplattform
父節點
當前提交
3eb3260426
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      templates/buildbot/master.cfg.j2

+ 3
- 3
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(


Loading…
取消
儲存