From 5a87e5df616b26ad541a93104ee192cfddbb72f8 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Mon, 3 Feb 2020 13:41:07 +0545 Subject: [PATCH] run LDAP as service in CI --- .drone.star | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.drone.star b/.drone.star index 499162e..de11323 100644 --- a/.drone.star +++ b/.drone.star @@ -126,19 +126,6 @@ def testing(ctx): }, }, }, - { - 'name': 'ldap', - 'image': 'osixia/openldap', - 'pull': 'always', - 'detach': True, - 'environment': { - 'LDAP_DOMAIN': 'owncloud.com', - 'LDAP_ORGANISATION': 'owncloud', - 'LDAP_ADMIN_PASSWORD': 'admin', - 'LDAP_TLS_VERIFY_CLIENT': 'never', - 'HOSTNAME': 'ldap' - }, - }, { 'name': 'reva-server', 'image': 'webhippie/golang:1.13', @@ -201,6 +188,20 @@ def testing(ctx): ] }, ], + 'services': [ + { + 'name': 'ldap', + 'image': 'osixia/openldap', + 'pull': 'always', + 'environment': { + 'LDAP_DOMAIN': 'owncloud.com', + 'LDAP_ORGANISATION': 'owncloud', + 'LDAP_ADMIN_PASSWORD': 'admin', + 'LDAP_TLS_VERIFY_CLIENT': 'never', + 'HOSTNAME': 'ldap' + }, + }, + ], 'volumes': [ { 'name': 'gopath',