user/ci/wait-up.sh

7 lines
183 B
Bash
Raw Normal View History

2023-01-09 14:08:45 +00:00
#!/bin/bash
2023-01-09 15:31:15 +00:00
while ! docker logs v3-user-db-test --tail=1 | grep -q -i "database system is ready to accept connections";
2023-01-09 14:08:45 +00:00
do
sleep 5
2023-01-09 14:39:55 +00:00
echo "Waiting for Test DB to be up..."
2023-01-09 14:08:45 +00:00
done