fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 17s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 17s
This commit is contained in:
parent
9c0ff0e90a
commit
5e39afbf77
@ -23,6 +23,8 @@ isready() {
|
||||
local waited=0
|
||||
until pg_isready -p "$port" 1>/dev/null; do
|
||||
if [[ "$waited" = "10" ]]; then
|
||||
pwd
|
||||
cat docker-compose.yml
|
||||
docker compose logs base
|
||||
exit 1
|
||||
fi
|
||||
@ -55,7 +57,6 @@ cp .env.schema "./$base_or_head/.env.schema"
|
||||
|
||||
cd "./$base_or_head"
|
||||
docker compose up -d "$base_or_head" 1>/dev/null
|
||||
cd "../$base_or_head"
|
||||
|
||||
isready
|
||||
initdb
|
||||
|
Loading…
Reference in New Issue
Block a user