debug: CI: explicitly supply DATABASE_URL
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
7db1fa3d3b
commit
a0144bcf9b
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ pipeline:
|
|||
backend:
|
||||
image: rust
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
||||
- DATABASE_URL="postgres://postgres:password@database:5432/postgres"
|
||||
commands:
|
||||
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
|
||||
- apt update && apt-get -y --no-install-recommends install nodejs
|
||||
|
|
2
Makefile
2
Makefile
|
@ -46,7 +46,7 @@ lint: ## Lint codebase
|
|||
migrate: ## run migrations
|
||||
$(call cache_bust)
|
||||
unset DATABASE_URL && echo ${DATABASE_URL} && cargo build
|
||||
cargo run -- migrate
|
||||
DATABASE_URL=${DATABASE_URL} cargo run -- migrate
|
||||
|
||||
release: ## Release build
|
||||
$(call cache_bust)
|
||||
|
|
Loading…
Reference in a new issue