Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2020-09-22 13:26:35 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2020-09-22 13:26:35 +0300
commit8217b473d9be36497368387337a5fb8a7a4cf0d6 (patch)
tree5b1989023cbcbc74f8f6be965eb22c3a9bc9bdf5 /.gitlab-ci.yml
parent7ca5e752a73f8868d05e3be43922b20e210d0462 (diff)
Praefect should be able to connect directly to the PostgreSQL
or to the PgBouncer instance set in front of it. That is why proxy_host and proxy_port configuration settings were added. All connections need to be done via proxy if it is configured. Exception to it is a listening connection that must be a direct connection to the database instance. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/3119
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03f3c16f6..c776975a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,10 +68,12 @@ danger-review:
services:
- postgres:11.8
variables:
- PGHOST: 0.0.0.0
+ PGHOST: postgres
PGPORT: 5432
PGUSER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
+ PGHOST_PGBOUNCER: 0.0.0.0
+ PGPORT_PGBOUNCER: 6432
before_script:
- go version
- git version