added echo instead of printf to overlap output
This commit is contained in:
parent
b9dc4a2249
commit
78d16cbb11
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export BASE="http://conductorserver:8080/api"
|
export BASE="http://conductorserver:8080/api"
|
||||||
|
echo "Waiting for conductor ..."
|
||||||
until $(curl --output /dev/null --silent --fail $BASE/health); do
|
until $(curl --output /dev/null --silent --fail $BASE/health); do
|
||||||
printf '.'
|
echo 'still waiting ...'
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue