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:
authorRobin Appelman <robin@icewind.nl>2018-09-17 19:19:29 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-10-04 17:37:48 +0300
commit2e328c1050eae5c33ec11ace2b26fc848bf38939 (patch)
treebb0173a8c43a8baba96cc75749c5e0341c60663f /.drone.yml
parent99c5005114df18f156a12c561b99dd02408b7cfc (diff)
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 bce197f52f3..2e8d84a49c8 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -313,7 +313,7 @@ pipeline:
image: nextcloudci/php7.1:php7.1-15
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
@@ -864,6 +864,7 @@ services:
image: postgres:9
environment:
- POSTGRES_USER=oc_autotest
+ - POSTGRES_DB=oc_autotest_dummy
- POSTGRES_PASSWORD=owncloud
tmpfs:
- /var/lib/postgresql/data
@@ -875,6 +876,7 @@ services:
image: postgres:10
environment:
- POSTGRES_USER=oc_autotest
+ - POSTGRES_DB=oc_autotest_dummy
- POSTGRES_PASSWORD=owncloud
tmpfs:
- /var/lib/postgresql/data