From 91f5731287d0482d41a8e085a439165ace657401 Mon Sep 17 00:00:00 2001 From: Aine <97398200+etkecc@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:21:32 +0000 Subject: [PATCH] buscarron v1.4.2 (#3437) * buscarron v1.4.2 * Add more spaces before comments --------- Co-authored-by: Slavi Pantaleev --- roles/custom/matrix-bot-buscarron/defaults/main.yml | 13 ++++++++++++- roles/custom/matrix-bot-buscarron/templates/env.j2 | 7 +++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/roles/custom/matrix-bot-buscarron/defaults/main.yml b/roles/custom/matrix-bot-buscarron/defaults/main.yml index 56defb34f..d99400700 100644 --- a/roles/custom/matrix-bot-buscarron/defaults/main.yml +++ b/roles/custom/matrix-bot-buscarron/defaults/main.yml @@ -6,7 +6,7 @@ matrix_bot_buscarron_enabled: true # renovate: datasource=docker depName=registry.gitlab.com/etke.cc/buscarron -matrix_bot_buscarron_version: v1.4.1 +matrix_bot_buscarron_version: v1.4.2 # The hostname at which Buscarron is served. matrix_bot_buscarron_hostname: '' @@ -50,6 +50,17 @@ matrix_bot_buscarron_metrics_password: '' # /metrics allowed ips matrix_bot_buscarron_metrics_ips: [] +# healthchecks.io integration +matrix_bot_buscarron_hc_url: '' # default is https://hc-ping.com (healthchecks.io) +matrix_bot_buscarron_hc_uuid: '' # check UUID + +# redmine integration +matrix_bot_buscarron_redmine_host: '' # e.g. https://redmine.example.com +matrix_bot_buscarron_redmine_apikey: '' +matrix_bot_buscarron_redmine_project: '' # project identifier (e.g., my-project) +matrix_bot_buscarron_redmine_trackerid: '' # task tracker ID (e.g., 1) +matrix_bot_buscarron_redmine_statusid: '' # task status ID (e.g., 1) + # matrix_bot_buscarron_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container. # See `../templates/labels.j2` for details. diff --git a/roles/custom/matrix-bot-buscarron/templates/env.j2 b/roles/custom/matrix-bot-buscarron/templates/env.j2 index acfe99eba..11a4f6bd6 100644 --- a/roles/custom/matrix-bot-buscarron/templates/env.j2 +++ b/roles/custom/matrix-bot-buscarron/templates/env.j2 @@ -5,6 +5,8 @@ BUSCARRON_DB_DSN={{ matrix_bot_buscarron_database_connection_string }} BUSCARRON_DB_DIALECT={{ matrix_bot_buscarron_database_dialect }} BUSCARRON_SPAMLIST={{ matrix_bot_buscarron_spamlist|join(" ") }} BUSCARRON_SENTRY={{ matrix_bot_buscarron_sentry }} +BUSCARRON_HC_URL={{ matrix_bot_buscarron_hc_url }} +BUSCARRON_HC_UUID={{ matrix_bot_buscarron_hc_uuid }} BUSCARRON_LOGLEVEL={{ matrix_bot_buscarron_loglevel }} BUSCARRON_BAN_SIZE={{ matrix_bot_buscarron_ban_size }} BUSCARRON_BAN_LIST={{ matrix_bot_buscarron_ban_list|default('')|join(' ') }} @@ -16,6 +18,11 @@ BUSCARRON_SMTP_VALIDATION={{ matrix_bot_buscarron_smtp_validation }} BUSCARRON_METRICS_LOGIN={{ matrix_bot_buscarron_metrics_login }} BUSCARRON_METRICS_PASSWORD={{ matrix_bot_buscarron_metrics_password }} BUSCARRON_METRICS_IPS={{ matrix_bot_buscarron_metrics_ips|default([])|join(" ") }} +BUSCARRON_REDMINE_HOST={{ matrix_bot_buscarron_redmine_host }} +BUSCARRON_REDMINE_APIKEY={{ matrix_bot_buscarron_redmine_apikey }} +BUSCARRON_REDMINE_PROJECT={{ matrix_bot_buscarron_redmine_project }} +BUSCARRON_REDMINE_TRACKERID={{ matrix_bot_buscarron_redmine_trackerid }} +BUSCARRON_REDMINE_STATUSID={{ matrix_bot_buscarron_redmine_statusid }} {% set forms = [] %} {% for form in matrix_bot_buscarron_forms -%}{{- forms.append(form.name) -}} BUSCARRON_{{ form.name|upper }}_ROOM={{ form.room|default('') }}