Compare commits
1 commit
0a16263a96
...
639a478c81
| Author | SHA1 | Date | |
|---|---|---|---|
| 639a478c81 |
1 changed files with 1 additions and 5 deletions
|
|
@ -36,11 +36,7 @@ steps:
|
||||||
# Wait for postgres to become available
|
# Wait for postgres to become available
|
||||||
- |
|
- |
|
||||||
for i in {1..20}; do
|
for i in {1..20}; do
|
||||||
if pg_isready -h postgres; then
|
pg_isready -h postgres && break
|
||||||
break
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
echo "Postgres did not become available, aborting"
|
echo "Postgres did not become available, aborting"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue