From 88644894f9d3670173167b5cbd5f0a7e269afdf1 Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Thu, 27 Jun 2019 13:11:57 -0600 Subject: [PATCH] Launch couch as a service --- .drone.yml | 6 +++--- testsettings.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index b675a00..35c60f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,14 +1,14 @@ kind: pipeline name: default -steps: -- name: launch couch +services: +- name: couchdb image: couchdb:2.3 environment: COUCHDB_USER: admin COUCHDB_PASSWORD: password - detach: true +steps: - name: test image: python:3.6 commands: diff --git a/testsettings.py b/testsettings.py index 4026d79..dc4be7e 100644 --- a/testsettings.py +++ b/testsettings.py @@ -1,5 +1,5 @@ SECRET_KEY = b'dev' -COUCH_URL='http://localhost:5984' +COUCH_URL='http://couchdb:5984' COUCH_USERNAME='admin' COUCH_PASSWORD='password' COUCH_DATABASE='humulus'