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
1 changed files with 5 additions and 9 deletions

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