From 01e2cf08d1938bd1adf2650f2e2e57253b4dc5e5 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 10 Dec 2019 16:43:43 -0800 Subject: [PATCH] Fix Drone CI services syntax. --- .drone.yml | 10 +++++----- tests/end-to-end/test_database.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a7fa332..426c029 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ kind: pipeline name: python-3-5-alpine-3-10 services: - database: + - name: postgresql image: postgres:11.5 ports: - "5432:5432" @@ -22,7 +22,7 @@ kind: pipeline name: python-3-6-alpine-3-10 services: - database: + - name: postgresql image: postgres:11.5 ports: - "5432:5432" @@ -41,7 +41,7 @@ kind: pipeline name: python-3-7-alpine-3-10 services: - database: + - name: postgresql image: postgres:11.5 ports: - "5432:5432" @@ -60,7 +60,7 @@ kind: pipeline name: python-3-7-alpine-3-7 services: - database: + - name: postgresql image: postgres:11.5 ports: - "5432:5432" @@ -79,7 +79,7 @@ kind: pipeline name: python-3-8-alpine-3-10 services: - database: + - name: postgresql image: postgres:11.5 ports: - "5432:5432" diff --git a/tests/end-to-end/test_database.py b/tests/end-to-end/test_database.py index b5a3413..d12b03d 100644 --- a/tests/end-to-end/test_database.py +++ b/tests/end-to-end/test_database.py @@ -26,7 +26,7 @@ storage: hooks: postgresql_databases: - name: test - hostname: localhost + hostname: postgresql username: postgres password: test '''.format(config_path, repository_path, borgmatic_source_directory)