Browse Source

new order of config file

covid-videoplattform
parent
commit
fe79852393
1 changed files with 27 additions and 28 deletions
  1. +27
    -28
      templates/buildbot/master.cfg.j2

+ 27
- 28
templates/buildbot/master.cfg.j2 View File

@@ -5,15 +5,38 @@ from buildbot.plugins import *
c = BuildmasterConfig = {}

c['workers'] = []
c['workers'].append(worker.LocalWorker("local-worker"))
c['change_source'] = []
c['schedulers'] = []
c['builders'] = []
c['services'] = []

c['protocols'] = {'pb': {'port': 9989}}

c['change_source'] = []
c['title'] = "buildbot title"
c['titleURL'] = "https://github.com/covid-videoplattform"

c['schedulers'] = []
c['buildbotURL'] = "https://{{buildbot_server_name}}/"

c['builders'] = []
c['www'] = dict(
port=8010,
plugins = dict(
waterfall_view={},
console_view={},
grid_view={},
badges={"left_pad": 0, "right_pad": 0, "border_radius": 3, "style": "badgeio"},
),
change_hook_dialects={
'github': {}
},
)

c['db'] = {
'db_url' : "{{buildbot_database_url}}",
}


# Local Worker
c['workers'].append(worker.LocalWorker("local-worker"))

# Hello World Example
{% if buildbot_hello_world_example %}
@@ -84,27 +107,3 @@ c['schedulers'].append(schedulers.SingleBranchScheduler(
builderNames=['{{builder_name}}']))

{% endfor %}

c['services'] = []

c['title'] = "buildbot title"
c['titleURL'] = "https://github.com/covid-videoplattform"

c['buildbotURL'] = "https://{{buildbot_server_name}}/"

c['www'] = dict(
port=8010,
plugins = dict(
waterfall_view={},
console_view={},
grid_view={},
badges={"left_pad": 0, "right_pad": 0, "border_radius": 3, "style": "badgeio"},
),
change_hook_dialects={
'github': {}
},
)

c['db'] = {
'db_url' : "{{buildbot_database_url}}",
}

Loading…
Cancel
Save