summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-03-15 18:39:27 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-09 23:45:04 +0200
commit86d145f0692df7b6d5883c6caa88c19b7d725161 (patch)
tree51b5ea121fe4d619337870c8ea2453761f615ff1 /.drone.yml
parentf630b12fc78c2201504fc14a2b8dec2c610655b2 (diff)
downloadnextcloud-server-86d145f0692df7b6d5883c6caa88c19b7d725161.tar.gz
nextcloud-server-86d145f0692df7b6d5883c6caa88c19b7d725161.zip
behat integration tests for LDAP, basic setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index da877a95d50..84a6d0495f2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -562,6 +562,16 @@ pipeline:
when:
matrix:
TESTS: integration-ldap-features
+ integration-ldap-openldap-features:
+ image: nextcloudci/integration-php7.0:integration-php7.0-6
+ commands:
+ - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
+ - ./occ app:enable user_ldap
+ - cd build/integration
+ - ./run.sh ldap_features/ldap-openldap.feature
+ when:
+ matrix:
+ TESTS: integration-ldap-openldap-features
integration-trashbin:
image: nextcloudci/integration-php7.0:integration-php7.0-8
commands:
@@ -828,6 +838,8 @@ matrix:
- TESTS: integration-filesdrop-features
- TESTS: integration-transfer-ownership-features
- TESTS: integration-ldap-features
+ - TESTS: integration-ldap-openldap-features
+ ENABLE_OPENLDAP: true
- TESTS: integration-trashbin
- TESTS: integration-remote-api
- TESTS: integration-download
@@ -1007,5 +1019,15 @@ services:
when:
matrix:
TESTS: acceptance
+ openldap:
+ image: nextcloudci/openldap:openldap-4
+ environment:
+ - SLAPD_DOMAIN=nextcloud.ci
+ - SLAPD_ORGANIZATION=Nextcloud
+ - SLAPD_PASSWORD=admin
+ - SLAPD_ADDITIONAL_MODULES=memberof
+ when:
+ matrix:
+ ENABLE_OPENLDAP: true
branches: [ master, stable* ]