From 78d16cbb11fda290b2bbc69b5de0e83498224482 Mon Sep 17 00:00:00 2001 From: dcore94wq Date: Fri, 17 Jul 2020 12:51:29 +0200 Subject: [PATCH] added echo instead of printf to overlap output --- scripts/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 7b828e6..fb68e27 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -1,13 +1,13 @@ #!/bin/sh export BASE="http://conductorserver:8080/api" - +echo "Waiting for conductor ..." until $(curl --output /dev/null --silent --fail $BASE/health); do - printf '.' + echo 'still waiting ...' sleep 5 done -printf 'Contact ... starting upload' +echo 'Contact ... starting upload' curl -s -o /dev/null -w "%{http_code}\n" -X POST -H 'Content-Type: application/json' -d @/var/resources/tasks/pytasks.json $BASE/metadata/taskdefs