feat: CI: install nginx to run nginx conductor integration tests

This commit is contained in:
Aravinth Manivannan 2022-12-12 15:17:46 +05:30
parent bfaf077c02
commit 2401d40047
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -1,10 +1,12 @@
pipeline:
backend:
image: rust
# environment:
# - DATABASE_URL=postgres://postgres:password@database:5432/postgres
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 test
- make release
@ -27,9 +29,3 @@ pipeline:
from_secret: DOCKER_TOKEN
repo: realaravinth/librepages-conductor
tags: latest
#services:
# database:
# image: postgres
# environment:
# - POSTGRES_PASSWORD=password