From 014a2068470621e12bbc08386756dd93ad333809 Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Mon, 27 Oct 2025 18:49:03 +0300 Subject: [PATCH] fix: Adds vault cli app load for prod release --- config/sys.config | 13 ++++++++++--- rebar.config | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/config/sys.config b/config/sys.config index 8865a8e4..65995fbd 100644 --- a/config/sys.config +++ b/config/sys.config @@ -62,11 +62,18 @@ {proxy_opts, #{ transport_opts => #{} }}, - {health_check, #{ + {health_check_liveness, #{ disk => {erl_health, disk, ["/", 99]}, memory => {erl_health, cg_memory, [70]}, - service => {erl_health, service, [<<"{{ service_name }}">>]}, - dmt_client => {dmt_client, health_check, [<<"hellgate">>]} + service => {erl_health, service, [<<"hellgate">>]} + }}, + {health_check_readiness, #{ + dmt_client => {dmt_client, health_check, [<<"hellgate">>]}, + progressor => + {progressor, health_check, [ + %% list of progressors namespaces for tests + [invoice_template] + ]} }}, {payment_retry_policy, #{ processed => {exponential, {max_total_timeout, 30}, 2, 1}, diff --git a/rebar.config b/rebar.config index 39d87ac5..589e957d 100644 --- a/rebar.config +++ b/rebar.config @@ -88,6 +88,7 @@ {recon, load}, {runtime_tools, load}, {tools, load}, + {canal, load}, {opentelemetry, temporary}, logger_logstash_formatter, sasl,