added echo instead of printf to overlap output

This commit is contained in:
dcore94wq 2020-07-17 12:51:29 +02:00
parent b9dc4a2249
commit 78d16cbb11
1 changed files with 3 additions and 3 deletions

View File

@ -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