Skip to content

Commit

Permalink
Adjust postgres database access
Browse files Browse the repository at this point in the history
Following server example from
nextcloud/server#34645

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and backportbot-nextcloud[bot] committed Dec 6, 2022
1 parent 8473fe2 commit e5a0b7d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,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"
Expand Down
36 changes: 18 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,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
Expand Down Expand Up @@ -780,9 +780,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
Expand Down Expand Up @@ -822,9 +822,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
Expand Down Expand Up @@ -864,9 +864,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
Expand Down Expand Up @@ -907,9 +907,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
Expand Down Expand Up @@ -950,9 +950,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
Expand Down Expand Up @@ -992,9 +992,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
Expand Down Expand Up @@ -1034,9 +1034,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
Expand Down Expand Up @@ -1076,9 +1076,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
Expand Down

0 comments on commit e5a0b7d

Please sign in to comment.