fix wait_for_postgres
This commit is contained in:
parent
581c5e9c83
commit
018268f9be
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +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 -u postgres; then
|
if pg_isready -h postgres -U postgres; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
true
|
true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue