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'