Przeglądaj źródła

indentation

covid-videoplattform
rodzic
commit
ec6eff30c7
1 zmienionych plików z 11 dodań i 7 usunięć
  1. +11
    -7
      templates/buildbot/master.cfg.j2

+ 11
- 7
templates/buildbot/master.cfg.j2 Wyświetl plik

@@ -58,9 +58,12 @@ factory.addStep(steps.Git(repourl='git://github.com/buildbot/hello-world.git', m
factory.addStep(steps.ShellCommand(command=["trial", "hello"], env={"PYTHONPATH": "."}))

c['builders'].append(
util.BuilderConfig(name="hello-world",
workernames=["local-worker"],
factory=factory))
util.BuilderConfig(
name="hello-world",
workernames=["local-worker"],
factory=factory
)
)

c['schedulers'].append(schedulers.ForceScheduler(
name="force-hello-world",
@@ -113,10 +116,11 @@ c['builders'].append(
)

c['schedulers'].append(schedulers.SingleBranchScheduler(
name="{{builder_name}}",
change_filter=util.ChangeFilter(branch='master'),
treeStableTimer=5,
builderNames=['{{builder_name}}']))
name="{{builder_name}}",
change_filter=util.ChangeFilter(branch='master'),
treeStableTimer=5,
builderNames=['{{builder_name}}'],
))

{% if builder.force_scheduler | default(false) %}
c['schedulers'].append(schedulers.ForceScheduler(


Ładowanie…
Anuluj
Zapisz