From 3683b3e32dbdf4a8deabac35857a48f906837151 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 3 Dec 2018 14:34:03 +0100 Subject: [PATCH] run LDAP integrations tests with redis which is the recommended setup Signed-off-by: Arthur Schiwon --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4e56c58b03..61c6fdc65f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -614,6 +614,11 @@ pipeline: image: nextcloudci/integration-php7.0:integration-php7.0-6 commands: - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int + - ./occ config:system:set redis host --value=cache + - ./occ config:system:set redis port --value=6379 --type=integer + - ./occ config:system:set redis timeout --value=0 --type=integer + - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local + - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed - ./occ app:enable user_ldap - cd build/integration - ./run.sh ldap_features/ldap-openldap.feature @@ -624,6 +629,11 @@ pipeline: image: nextcloudci/integration-php7.0:integration-php7.0-6 commands: - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int + - ./occ config:system:set redis host --value=cache + - ./occ config:system:set redis port --value=6379 --type=integer + - ./occ config:system:set redis timeout --value=0 --type=integer + - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local + - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed - ./occ app:enable user_ldap - cd build/integration - ./run.sh ldap_features/openldap-uid-username.feature @@ -931,8 +941,10 @@ matrix: - TESTS: integration-ldap-features - TESTS: integration-ldap-openldap-features ENABLE_OPENLDAP: true + ENABLE_REDIS: true - TESTS: integration-ldap-openldap-uid-features ENABLE_OPENLDAP: true + ENABLE_REDIS: true - TESTS: integration-trashbin - TESTS: integration-remote-api - TESTS: integration-download