Commit 47b5f342 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Add LOG_LEVEL to avoid WARNING on check_service_are_running script

parent ae156811
Loading
Loading
Loading
Loading
Loading
+7 −6
Original line number Original line Diff line number Diff line
@@ -2,9 +2,10 @@
export CAPIF_PRIV_KEY=
export CAPIF_PRIV_KEY=
export CAPIF_PRIV_KEY_BASE_64=
export CAPIF_PRIV_KEY_BASE_64=
export MONITORING=
export MONITORING=
export LOG_LEVEL=DEBUG


running="$(docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")"
running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")"
services="$(docker compose -f docker-compose-vault.yml ps --services --all)"
services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all)"
if [ "$running" != "$services" ]; then
if [ "$running" != "$services" ]; then
    echo "Following Vault services are not running:"
    echo "Following Vault services are not running:"
    # Bash specific
    # Bash specific
@@ -14,8 +15,8 @@ else
    echo "All Vault services are running"
    echo "All Vault services are running"
fi
fi


running="$(docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")"
running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")"
services="$(docker compose -f docker-compose-capif.yml ps --services --all)"
services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-capif.yml ps --services --all)"
if [ "$running" != "$services" ]; then
if [ "$running" != "$services" ]; then
    echo "Following CCF services are not running:"
    echo "Following CCF services are not running:"
    # Bash specific
    # Bash specific
@@ -25,8 +26,8 @@ else
    echo "All CCF services are running"
    echo "All CCF services are running"
fi
fi


running="$(docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")"
running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")"
services="$(docker compose -f docker-compose-register.yml ps --services --all)"
services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all)"
if [ "$running" != "$services" ]; then
if [ "$running" != "$services" ]; then
    echo "Following Register services are not running:"
    echo "Following Register services are not running:"
    # Bash specific
    # Bash specific