fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 5s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 5s
This commit is contained in:
parent
70a8bcad8e
commit
fd395c2c75
@ -1,6 +1,6 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
set -xe
|
set -e
|
||||||
|
|
||||||
source ./scripts/common.sh
|
source ./scripts/common.sh
|
||||||
source ./scripts/env.sh ./.env.schema
|
source ./scripts/env.sh ./.env.schema
|
||||||
@ -8,8 +8,7 @@ source ./scripts/env.sh ./.env.schema
|
|||||||
base_or_head="$1"
|
base_or_head="$1"
|
||||||
rev="$2"
|
rev="$2"
|
||||||
|
|
||||||
docker compose kill "$base_or_head"
|
docker compose exec "$base_or_head" "/bin/pg_ctl stop -m fast"
|
||||||
docker compose rm -vsf "$base_or_head"
|
|
||||||
|
|
||||||
if [[ "$base_or_head" = "head" ]]; then
|
if [[ "$base_or_head" = "head" ]]; then
|
||||||
port=5433
|
port=5433
|
||||||
|
Loading…
Reference in New Issue
Block a user