Merge pull request #11262 from nextcloud/drone-postgres-db-name

use a dummy database name for the default postgres database name
This commit is contained in:
blizzz 2018-09-18 14:00:22 +02:00 committed by GitHub
commit 9bbb88a3d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,7 @@ pipeline:
image: nextcloudci/php7.1:php7.1-16 image: nextcloudci/php7.1:php7.1-16
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
@ -936,6 +936,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
@ -947,6 +948,7 @@ services:
image: postgres:10 image: postgres:10
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