Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-12-03 16:34:03 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-17 15:08:10 +0300
commitacc7eee830b8075bc84c7054488f81c920ef4b22 (patch)
tree99b82a5f0501b459bd742ee3a651a72f87af6146 /.drone.yml
parentc6b540a738c3e361d9533cf841e208535e8d8483 (diff)
run LDAP integrations tests with redis which is the recommended setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 1c59cd13f2e..0d25c66472c 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -629,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/ldap-openldap.feature
@@ -639,6 +644,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
@@ -649,6 +659,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-numerical-id.feature
@@ -958,10 +973,13 @@ 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-ldap-openldap-numerical-id-features
ENABLE_OPENLDAP: true
+ ENABLE_REDIS: true
- TESTS: integration-trashbin
- TESTS: integration-remote-api
- TESTS: integration-download