feat: CI: install nginx to run nginx conductor integration tests
This commit is contained in:
parent
bfaf077c02
commit
2401d40047
1 changed files with 5 additions and 9 deletions
|
@ -1,10 +1,12 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
backend:
|
backend:
|
||||||
image: rust
|
image: rust
|
||||||
# environment:
|
|
||||||
# - DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
|
||||||
commands:
|
commands:
|
||||||
# - make migrate
|
- apt update
|
||||||
|
- apt-get install -y --no-install-recommends nginx sudo
|
||||||
|
# nginx_le_bind runs this command.
|
||||||
|
# Testing beforehand to ensure it is setup properly
|
||||||
|
- sudo nginx -t
|
||||||
- make
|
- make
|
||||||
- make test
|
- make test
|
||||||
- make release
|
- make release
|
||||||
|
@ -27,9 +29,3 @@ pipeline:
|
||||||
from_secret: DOCKER_TOKEN
|
from_secret: DOCKER_TOKEN
|
||||||
repo: realaravinth/librepages-conductor
|
repo: realaravinth/librepages-conductor
|
||||||
tags: latest
|
tags: latest
|
||||||
|
|
||||||
#services:
|
|
||||||
# database:
|
|
||||||
# image: postgres
|
|
||||||
# environment:
|
|
||||||
# - POSTGRES_PASSWORD=password
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue