summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-09-17 18:19:29 +0200
committerRobin Appelman <robin@icewind.nl>2018-09-17 18:19:29 +0200
commit254d7caab64f4c6a6e6201992f5536d78f10a8fb (patch)
treee0e2938c2cd1405b43d8a7432117232207e475df /.drone.yml
parentcccd3fc077626c64166abe9fefd719c53dd3e935 (diff)
downloadnextcloud-server-254d7caab64f4c6a6e6201992f5536d78f10a8fb.tar.gz
nextcloud-server-254d7caab64f4c6a6e6201992f5536d78f10a8fb.zip
use a dummy database name for the default postgres database name
For some reason the docker image does not setup the permissions correctly, by using a different name the nextcloud installer will create the database instead with the correct permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 2ac98e4523f..52690829b93 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -284,7 +284,7 @@ pipeline:
image: nextcloudci/php7.1:php7.1-16
commands:
- sleep 10 # gives the database enough time to initialize
- - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
+ - POSTGRES=${POSTGRES} NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
when:
matrix:
DB: postgres
@@ -936,6 +936,7 @@ services:
image: postgres:9
environment:
- POSTGRES_USER=oc_autotest
+ - POSTGRES_DB=oc_autotest_dummy
- POSTGRES_PASSWORD=owncloud
tmpfs:
- /var/lib/postgresql/data
@@ -947,6 +948,7 @@ services:
image: postgres:10
environment:
- POSTGRES_USER=oc_autotest
+ - POSTGRES_DB=oc_autotest_dummy
- POSTGRES_PASSWORD=owncloud
tmpfs:
- /var/lib/postgresql/data