run LDAP as service in CI

This commit is contained in:
Artur Neumann
2020-02-03 13:41:07 +05:45
parent 4f4ab27200
commit 5a87e5df61

View File

@@ -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',