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
|
||||
- |
|
||||
for i in {1..20}; do
|
||||
if pg_isready -h postgres; then
|
||||
break
|
||||
else
|
||||
true
|
||||
fi
|
||||
pg_isready -h postgres && break
|
||||
sleep 2
|
||||
done
|
||||
echo "Postgres did not become available, aborting"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue