From 616908ad53a45d1f372ba3f905d4badef0d8f2e2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 17 Sep 2018 18:19:29 +0200 Subject: [PATCH] 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 --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e90713b285b..eb301c18a48 100644 --- a/.drone.yml +++ b/.drone.yml @@ -197,7 +197,7 @@ pipeline: image: nextcloudci/php5.6:php5.6-8 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 @@ -649,6 +649,7 @@ services: image: postgres:9 environment: - POSTGRES_USER=oc_autotest + - POSTGRES_DB=oc_autotest_dummy - POSTGRES_PASSWORD=owncloud tmpfs: - /var/lib/postgresql/data