This commit is contained in:
parent
631849fceb
commit
98e3a9d810
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ pipeline:
|
||||||
backend:
|
backend:
|
||||||
image: rust
|
image: rust
|
||||||
environment:
|
environment:
|
||||||
- PG_DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
||||||
commands:
|
commands:
|
||||||
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
|
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
|
||||||
- apt update && apt-get -y --no-install-recommends install nodejs
|
- apt update && apt-get -y --no-install-recommends install nodejs
|
||||||
|
@ -12,9 +12,9 @@ pipeline:
|
||||||
- sed -i 's%url = "http:\/\/localhost:5000"%url = "http:\/\/librepages-conductor:5000"%' config/default.toml
|
- sed -i 's%url = "http:\/\/localhost:5000"%url = "http:\/\/librepages-conductor:5000"%' config/default.toml
|
||||||
- make dev-env
|
- make dev-env
|
||||||
- make build
|
- make build
|
||||||
- DATABASE_URL=PG_DATABASE_URL make migrate
|
- make migrate
|
||||||
- make lint
|
- make lint
|
||||||
- DATABASE_URL=PG_DATABASE_URL make test
|
- make test
|
||||||
|
|
||||||
build_docker_img:
|
build_docker_img:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
Loading…
Add table
Reference in a new issue