server/tests/drone-wait-objectstore.sh

11 lines
173 B
Bash
Raw Normal View History

#!/bin/bash
if [ "$OBJECT_STORE" == "swift" ]; then
echo "waiting for swift"
until curl -I http://dockswift:5000/v3
do
sleep 2
done
sleep 60
fi