Fix Drone CI services syntax.

This commit is contained in:
Dan Helfman 2019-12-10 16:43:43 -08:00
parent 9f821862b7
commit 01e2cf08d1
2 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ kind: pipeline
name: python-3-5-alpine-3-10 name: python-3-5-alpine-3-10
services: services:
database: - name: postgresql
image: postgres:11.5 image: postgres:11.5
ports: ports:
- "5432:5432" - "5432:5432"
@ -22,7 +22,7 @@ kind: pipeline
name: python-3-6-alpine-3-10 name: python-3-6-alpine-3-10
services: services:
database: - name: postgresql
image: postgres:11.5 image: postgres:11.5
ports: ports:
- "5432:5432" - "5432:5432"
@ -41,7 +41,7 @@ kind: pipeline
name: python-3-7-alpine-3-10 name: python-3-7-alpine-3-10
services: services:
database: - name: postgresql
image: postgres:11.5 image: postgres:11.5
ports: ports:
- "5432:5432" - "5432:5432"
@ -60,7 +60,7 @@ kind: pipeline
name: python-3-7-alpine-3-7 name: python-3-7-alpine-3-7
services: services:
database: - name: postgresql
image: postgres:11.5 image: postgres:11.5
ports: ports:
- "5432:5432" - "5432:5432"
@ -79,7 +79,7 @@ kind: pipeline
name: python-3-8-alpine-3-10 name: python-3-8-alpine-3-10
services: services:
database: - name: postgresql
image: postgres:11.5 image: postgres:11.5
ports: ports:
- "5432:5432" - "5432:5432"

View file

@ -26,7 +26,7 @@ storage:
hooks: hooks:
postgresql_databases: postgresql_databases:
- name: test - name: test
hostname: localhost hostname: postgresql
username: postgres username: postgres
password: test password: test
'''.format(config_path, repository_path, borgmatic_source_directory) '''.format(config_path, repository_path, borgmatic_source_directory)