From d227dac859231c2a30b8d2f342feab1424d28544 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 7 Jun 2022 14:02:55 -0700 Subject: [PATCH] openqa/dispatcher: don't require resultsdb and wiki URL/hostname The config file should treat these as optional, not every openQA instance wants to report results. Signed-off-by: Adam Williamson --- roles/openqa/dispatcher/templates/schedule.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/openqa/dispatcher/templates/schedule.conf.j2 b/roles/openqa/dispatcher/templates/schedule.conf.j2 index 4218fc6f53..6725a74d26 100644 --- a/roles/openqa/dispatcher/templates/schedule.conf.j2 +++ b/roles/openqa/dispatcher/templates/schedule.conf.j2 @@ -1,12 +1,16 @@ [report] +{% if openqa_resultsdb_url is defined %} resultsdb_url: {{ openqa_resultsdb_url }} +{% endif %} {% if openqa_resultsdb_user is defined %} resultsdb_user: {{ openqa_resultsdb_user }} {% endif %} {% if openqa_resultsdb_password is defined %} resultsdb_password: {{ openqa_resultsdb_password }} {% endif %} +{% if openqa_wikitcms_hostname is defined %} wiki_hostname: {{ openqa_wikitcms_hostname }} +{% endif %} [schedule] arches: {{ openqa_compose_arches }}