run LDAP integrations tests with redis which is the recommended setup

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2018-12-03 14:34:03 +01:00
parent a76695962b
commit 3683b3e32d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 12 additions and 0 deletions

View File

@ -614,6 +614,11 @@ pipeline:
image: nextcloudci/integration-php7.0:integration-php7.0-6 image: nextcloudci/integration-php7.0:integration-php7.0-6
commands: commands:
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int - ./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 - ./occ app:enable user_ldap
- cd build/integration - cd build/integration
- ./run.sh ldap_features/ldap-openldap.feature - ./run.sh ldap_features/ldap-openldap.feature
@ -624,6 +629,11 @@ pipeline:
image: nextcloudci/integration-php7.0:integration-php7.0-6 image: nextcloudci/integration-php7.0:integration-php7.0-6
commands: commands:
- ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int - ./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 - ./occ app:enable user_ldap
- cd build/integration - cd build/integration
- ./run.sh ldap_features/openldap-uid-username.feature - ./run.sh ldap_features/openldap-uid-username.feature
@ -931,8 +941,10 @@ matrix:
- TESTS: integration-ldap-features - TESTS: integration-ldap-features
- TESTS: integration-ldap-openldap-features - TESTS: integration-ldap-openldap-features
ENABLE_OPENLDAP: true ENABLE_OPENLDAP: true
ENABLE_REDIS: true
- TESTS: integration-ldap-openldap-uid-features - TESTS: integration-ldap-openldap-uid-features
ENABLE_OPENLDAP: true ENABLE_OPENLDAP: true
ENABLE_REDIS: true
- TESTS: integration-trashbin - TESTS: integration-trashbin
- TESTS: integration-remote-api - TESTS: integration-remote-api
- TESTS: integration-download - TESTS: integration-download