all done
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a91395ef6d
commit
049104deb2
|
@ -69,16 +69,9 @@ steps:
|
||||||
- mv build/ci/Dockerfile .
|
- mv build/ci/Dockerfile .
|
||||||
- mv deploy/docker-compose.yml .
|
- mv deploy/docker-compose.yml .
|
||||||
- rm -r build deploy
|
- rm -r build deploy
|
||||||
- touch migrate.sh
|
- goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up
|
||||||
- echo goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up >> migrate.sh
|
|
||||||
- chmod +x migrate.sh
|
|
||||||
- ./migrate.sh
|
|
||||||
# - goose -allow-missing -dir ./migrations postgres "user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable" up
|
|
||||||
- docker-compose up -d --force-recreate
|
- docker-compose up -d --force-recreate
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# run migrations
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Loading…
Reference in New Issue