From 86d145f0692df7b6d5883c6caa88c19b7d725161 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 15 Mar 2018 18:39:27 +0100 Subject: behat integration tests for LDAP, basic setup Signed-off-by: Arthur Schiwon --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to '.drone.yml') 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* ] -- cgit v1.2.3