From 001903852f1564509054075c802d134ad647fd93 Mon Sep 17 00:00:00 2001 From: Izel Nakri Date: Fri, 30 Aug 2024 05:33:37 +0200 Subject: [PATCH] small update to setup-database.sh CI script --- setup-database.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup-database.sh b/setup-database.sh index 175e593..27a070b 100644 --- a/setup-database.sh +++ b/setup-database.sh @@ -2,6 +2,9 @@ set -oe allexport source .env +echo "PGHOST IS:" +echo $PGHOST + # Prepare Dialyzer if the project has Dialyxer set up # if mix help dialyzer >/dev/null 2>&1 # then @@ -13,7 +16,7 @@ source .env # Wait for Postgres to become available. until psql -h $PGHOST -U "$PGUSER" -c '\q' 2>/dev/null; do - >&2 echo "Postgres is unavailable - sleeping" + echo "Postgres is unavailable - sleeping" sleep 1 done