From 85a310a47076f30ec9a36f3978746d37575076c4 Mon Sep 17 00:00:00 2001 From: Rob Harrison Date: Thu, 27 Jun 2019 13:44:36 +0100 Subject: [PATCH] Update integration-tests.test.yml Testing having fixed command --- postgres-backup-s3/integration-tests.test.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/postgres-backup-s3/integration-tests.test.yml b/postgres-backup-s3/integration-tests.test.yml index 7d1a2de..e9d2447 100644 --- a/postgres-backup-s3/integration-tests.test.yml +++ b/postgres-backup-s3/integration-tests.test.yml @@ -1,3 +1,20 @@ +version: '3.7' +services: + msuk_db: + image: camptocamp/postgres:9.6 + deploy: + replicas: 1 + environment: + - POSTGRES_PASSWORD=12345 + - POSTGRES_USER=user + - PGDATA=/var/lib/postgresql/data/pgdata + configs: + - source: master-db-config_2 + target: /etc/postgresql/postgresql.conf + command: -c 'config_file=/etc/postgresql/postgresql.conf' +configs: + master-db-config: + file: ./config/master.conf sut: build: . - command: integration-tests.sh + command: 'sh integration-tests.sh'