From 25793c0af14a0969f27e73c6f9cea3b811c98647 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 18 Jan 2023 18:11:52 +0100 Subject: [PATCH] Log level is now configurable through a drone secret --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4c0f2f1..7090107 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,12 +23,14 @@ steps: from_secret: HUE_TOKEN NTFY_TOPIC: from_secret: NTFY_TOPIC + RUST_LOG: + from_secret: RUST_LOG commands: - docker stop automation_rs || true - docker rm automation_rs || true - - docker create -e MQTT_PASSWORD=$MQTT_PASSWORD -e HUE_TOKEN=$HUE_TOKEN -e NTFY_TOPIC=$NTFY_TOPIC --name automation_rs automation_rs + - docker create -e RUST_LOG=$RUST_LOG -e MQTT_PASSWORD=$MQTT_PASSWORD -e HUE_TOKEN=$HUE_TOKEN -e NTFY_TOPIC=$NTFY_TOPIC --name automation_rs automation_rs - docker network connect mqtt automation_rs - docker network connect web automation_rs - docker start automation_rs