fix: gen-migrations workflow
All checks were successful
gen-migrations / gen-migrations (push) Successful in 8m34s
All checks were successful
gen-migrations / gen-migrations (push) Successful in 8m34s
This commit is contained in:
parent
ab4b8e0bd3
commit
19fc1816ff
@ -26,7 +26,7 @@ initdb() {
|
||||
}
|
||||
|
||||
if [[ "$rev" = "empty" ]]; then
|
||||
docker compose up --wait -d "$base_or_head"
|
||||
docker compose up --wait --wait-timeout 30 -d "$base_or_head"
|
||||
initdb
|
||||
exit 0
|
||||
fi
|
||||
@ -39,7 +39,7 @@ cp docker-compose.yml "./$base_or_head/docker-compose.yml"
|
||||
cp .env.schema "./$base_or_head/.env.schema"
|
||||
|
||||
cd "./$base_or_head"
|
||||
docker compose up --wait -d "$base_or_head"
|
||||
docker compose up --wait --wait-timeout 30 -d "$base_or_head"
|
||||
|
||||
initdb || (docker compose logs "$base_or_head" && exit 1)
|
||||
ls ./schema/ | xargs -I{} bash -c "set -e; $(declare -f query_file); query_file \"$(db dnim)\" ./schema/{}" || (docker compose logs "$base_or_head" && exit 1)
|
||||
|
Loading…
Reference in New Issue
Block a user