From 0aff5e5351d3ee2c7b54f5398c581ace79b1fcdf Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 11 May 2020 13:29:58 +0200 Subject: [PATCH] buildbot title and url settings --- defaults/main.yaml | 5 +++++ templates/buildbot/master.cfg.j2 | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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",