Browse Source

Adjust postgres database access

Following server example from
https://github.com/nextcloud/server/pull/34645

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/8425/head
Joas Schilling 3 years ago
parent
commit
175b054efa
No known key found for this signature in database GPG Key ID: C400AAF20C1BB6FC
  1. 4
      .drone.jsonnet
  2. 40
      .drone.yml

4
.drone.jsonnet

@ -106,9 +106,9 @@ local PipelinePostgreSQL(test_set) = Pipeline(
image: "ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13",
environment: {
POSTGRES_USER: "oc_autotest",
POSTGRES_DB: "oc_autotest_dummy",
POSTGRES_DB: "oc_autotest",
POSTGRES_HOST_AUTH_METHOD: "trust",
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: "owncloud"
},
tmpfs: [
"/var/lib/postgresql/data"

40
.drone.yml

@ -879,9 +879,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -924,9 +924,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -969,9 +969,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1014,9 +1014,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1059,9 +1059,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1105,9 +1105,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1151,9 +1151,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1196,9 +1196,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1241,9 +1241,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql
@ -1286,9 +1286,9 @@ services:
- image: ghcr.io/nextcloud/continuous-integration-redis:latest
name: cache
- environment:
POSTGRES_DB: oc_autotest_dummy
POSTGRES_DB: oc_autotest
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD: ""
POSTGRES_PASSWORD: owncloud
POSTGRES_USER: oc_autotest
image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
name: pgsql

Loading…
Cancel
Save