diff --git a/defaults/main.yaml b/defaults/main.yaml index 16e4f8b..a2ba74f 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -14,3 +14,8 @@ buildbot_local_worker: true buildbot_github_change_hook: false buildbot_gitea_change_hook: false + +buildbot_title: Buildbot +buildbot_title_url: "{{ buildbot_base_url }}" + +buildbot_base_url: https://{{buildbot_server_name}}/ diff --git a/templates/buildbot/master.cfg.j2 b/templates/buildbot/master.cfg.j2 index 2d249a7..bb0365a 100644 --- a/templates/buildbot/master.cfg.j2 +++ b/templates/buildbot/master.cfg.j2 @@ -16,10 +16,10 @@ c['protocols'] = { } } -c['title'] = "buildbot title" -c['titleURL'] = "https://github.com/covid-videoplattform" +c['title'] = "{{buildbot_title}}" +c['titleURL'] = "{{buildbot_title_url}}" -c['buildbotURL'] = "https://{{buildbot_server_name}}/" +c['buildbotURL'] = "{{ buildbot_base_url }}" c['www'] = dict( port="unix:address=/run/buildbot/{{buildbot_server_name}}.www.sock",