Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
aa0a1c41
Commit
aa0a1c41
authored
7 years ago
by
Morris Jobke
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #5724 from nextcloud/fix-drone
Fix drone
parents
a79447c6
649c47b1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.drone.yml
+13
-10
13 additions, 10 deletions
.drone.yml
autotest.sh
+5
-2
5 additions, 2 deletions
autotest.sh
tests/redis-cluster.config.php
+6
-6
6 additions, 6 deletions
tests/redis-cluster.config.php
tests/redis.config.php
+1
-1
1 addition, 1 deletion
tests/redis.config.php
with
25 additions
and
19 deletions
.drone.yml
+
13
−
10
View file @
aa0a1c41
...
...
@@ -247,6 +247,9 @@ pipeline:
image
:
nextcloudci/integration-php7.0:integration-php7.0-4
commands
:
-
./occ maintenance:install --admin-pass=admin
-
./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 testing
...
...
@@ -561,12 +564,12 @@ matrix:
-
TESTS
:
integration-transfer-ownership-features
-
TESTS
:
integration-ldap-features
-
TESTS
:
integration-trashbin
-
TESTS
:
acceptance
TESTS-ACCEPTANCE
:
access-levels
-
TESTS
:
acceptance
TESTS-ACCEPTANCE
:
app-files
-
TESTS
:
acceptance
TESTS-ACCEPTANCE
:
login
#
- TESTS: acceptance
#
TESTS-ACCEPTANCE: access-levels
#
- TESTS: acceptance
#
TESTS-ACCEPTANCE: app-files
#
- TESTS: acceptance
#
TESTS-ACCEPTANCE: login
-
TESTS
:
jsunit
-
TESTS
:
syntax-php5.6
-
TESTS
:
syntax-php7.0
...
...
@@ -577,13 +580,13 @@ matrix:
-
TESTS
:
caldavtester-new-endpoint
-
TESTS
:
carddavtester-new-endpoint
-
TESTS
:
carddavtester-old-endpoint
-
TESTS
:
object-store
OBJECT_STORE
:
s3
#
- TESTS: object-store
#
OBJECT_STORE: s3
-
TESTS
:
sqlite-php7.0-samba-native
-
TESTS
:
sqlite-php7.0-samba-non-native
-
TEST
:
memcache-memcached
-
TEST
:
memcache-redis-cluster
ENABLE_REDIS_CLUSTER
:
true
#
- TEST: memcache-redis-cluster
#
ENABLE_REDIS_CLUSTER: true
-
TESTS
:
sqlite-php7.0-webdav-apache
ENABLE_REDIS
:
true
-
DB
:
NODB
...
...
This diff is collapsed.
Click to expand it.
autotest.sh
+
5
−
2
View file @
aa0a1c41
...
...
@@ -212,7 +212,7 @@ function execute_tests {
fi
mysql
-u
"
$DATABASEUSER
"
-powncloud
-e
"DROP DATABASE IF EXISTS
$DATABASENAME
"
-h
$DATABASEHOST
||
true
else
DATABASEHOST
=
127.0.0.1
DATABASEHOST
=
mysql
fi
fi
echo
"Waiting for MySQL initialisation ..."
...
...
@@ -246,7 +246,7 @@ function execute_tests {
fi
mysql
-u
"
$DATABASEUSER
"
-powncloud
-e
"DROP DATABASE IF EXISTS
$DATABASENAME
"
-h
$DATABASEHOST
||
true
else
DATABASEHOST
=
127.0.0.1
DATABASEHOST
=
mysqlmb4
fi
fi
...
...
@@ -308,6 +308,9 @@ function execute_tests {
echo
"Postgres is up."
else
if
[
!
-z
"
$DRONE
"
]
;
then
DATABASEHOST
=
postgres
fi
echo
"Waiting for Postgres to be available ..."
if
!
apps/files_external/tests/env/wait-for-connection
$DATABASEHOST
5432 60
;
then
echo
"[ERROR] Waited 60 seconds, no response"
>
&2
...
...
This diff is collapsed.
Click to expand it.
tests/redis-cluster.config.php
+
6
−
6
View file @
aa0a1c41
...
...
@@ -6,12 +6,12 @@ $CONFIG = [
'memcache.locking'
=>
'\\OC\\Memcache\\Redis'
,
'redis.cluster'
=>
[
'seeds'
=>
[
// provide some/all of the cluster servers to bootstrap discovery, port required
'
localhost
:7000'
,
'
localhost
:7001'
,
'
localhost
:7002'
,
'
localhost
:7003'
,
'
localhost
:7004'
,
'
localhost
:7005'
'
cache-cluster
:7000'
,
'
cache-cluster
:7001'
,
'
cache-cluster
:7002'
,
'
cache-cluster
:7003'
,
'
cache-cluster
:7004'
,
'
cache-cluster
:7005'
],
'timeout'
=>
0.0
,
'read_timeout'
=>
0.0
,
...
...
This diff is collapsed.
Click to expand it.
tests/redis.config.php
+
1
−
1
View file @
aa0a1c41
...
...
@@ -5,7 +5,7 @@ $CONFIG = [
'memcache.distributed'
=>
'\\OC\\Memcache\\Redis'
,
'memcache.locking'
=>
'\\OC\\Memcache\\Redis'
,
'redis'
=>
[
'host'
=>
'
localhost
'
,
'host'
=>
'
cache
'
,
'port'
=>
6379
,
'timeout'
=>
0
,
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment