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>
This commit is contained in:
parent
118e86f3ce
commit
616908ad53
|
@ -197,7 +197,7 @@ pipeline:
|
||||||
image: nextcloudci/php5.6:php5.6-8
|
image: nextcloudci/php5.6:php5.6-8
|
||||||
commands:
|
commands:
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- 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:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
DB: postgres
|
DB: postgres
|
||||||
|
@ -649,6 +649,7 @@ services:
|
||||||
image: postgres:9
|
image: postgres:9
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=oc_autotest
|
- POSTGRES_USER=oc_autotest
|
||||||
|
- POSTGRES_DB=oc_autotest_dummy
|
||||||
- POSTGRES_PASSWORD=owncloud
|
- POSTGRES_PASSWORD=owncloud
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /var/lib/postgresql/data
|
- /var/lib/postgresql/data
|
||||||
|
|
Loading…
Reference in New Issue