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

This commit is contained in:
Orion Kindel 2023-07-20 00:26:52 -05:00
parent 70a8bcad8e
commit fd395c2c75
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -1,6 +1,6 @@
#! /bin/bash
set -xe
set -e
source ./scripts/common.sh
source ./scripts/env.sh ./.env.schema
@ -8,8 +8,7 @@ source ./scripts/env.sh ./.env.schema
base_or_head="$1"
rev="$2"
docker compose kill "$base_or_head"
docker compose rm -vsf "$base_or_head"
docker compose exec "$base_or_head" "/bin/pg_ctl stop -m fast"
if [[ "$base_or_head" = "head" ]]; then
port=5433