fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 17s

This commit is contained in:
Orion Kindel 2023-07-18 22:35:46 -05:00
parent 9c0ff0e90a
commit 5e39afbf77
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -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