Skip to content

Commit c05c03f

Browse files
committed
CI: PostgreSQL: removing the service and using trust as authentication method
1 parent 95c74a9 commit c05c03f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ library:
7676

7777
postgres:
7878
stage: build
79-
services:
80-
- postgres
8179
variables:
8280
DEPENDENCIES_POSTGRES: "postgresql
8381
postgresql-client
@@ -87,8 +85,7 @@ postgres:
8785
POSTGRES_USER: "test"
8886
POSTGRES_PASSWORD: "test1"
8987
POSTGRES_HOST: "postgres"
90-
POSTGRES_HOST_AUTH_METHOD: "scram-sha-256"
91-
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256"
88+
POSTGRES_HOST_AUTH_METHOD: "trust"
9289
POSTGRESQL_DBCREATE_PARAMS: "HOST=$POSTGRES_HOST;ADM_LOGIN=$POSTGRES_USER;ADM_PASSWORD=$POSTGRES_PASSWORD"
9390
POSTGRESQL_CNC_PARAMS: "HOST=$POSTGRES_HOST;USERNAME=$POSTGRES_USER;PASSWORD=$POSTGRES_PASSWORD"
9491
POSTGRESQL_META_CNC: "HOST=$POSTGRES_HOST;USERNAME=$POSTGRES_USER;PASSWORD=$POSTGRES_PASSWORD"

0 commit comments

Comments
 (0)