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
5e39afbf77
commit
28b6544975
@ -6,6 +6,7 @@ jobs:
|
||||
if: |
|
||||
!startsWith(gitea.event.head_commit.message, 'chore')
|
||||
container:
|
||||
ports: [5432, 5433]
|
||||
image: 'git.orionkindel.com/dnim/db-ci-runner:disheveled-iceberg-launched-loosely'
|
||||
volumes: ['/run/user/1001/docker.sock:/run/user/1001/docker.sock']
|
||||
steps:
|
||||
|
@ -14,8 +14,8 @@ fi;
|
||||
|
||||
migration="./migrations/${base}_to_${head}.sql"
|
||||
|
||||
base_url=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/dnim
|
||||
head_url=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5433/dnim
|
||||
base_url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/dnim"
|
||||
head_url="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5433/dnim"
|
||||
|
||||
if [[ -z "$base" ]] || [[ -z "$head" ]]; then
|
||||
echo "revisions to diff are required ex. ./scripts/diff.sh abc bcd" 1>&2;
|
||||
|
Loading…
Reference in New Issue
Block a user