diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-08-05 22:29:45 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-08-10 11:42:09 +0300 |
commit | 44a927d42a34c12ca94197c9a916a264a89b370c (patch) | |
tree | 439c9c80e04e2478bc8c02913f0f656724f30f23 /.gitlab-ci.yml | |
parent | 57d9b45c1017c000031405bec08ca10b5a20d34b (diff) |
cicd_tooling: Update Postgres database version
We should keep version of the database up to date with
the officially supported version of it for the GitLab.
The source is https://docs.gitlab.com/omnibus/package-information/postgresql_versions.html
That is why we update is to the 12.6 version for the
gitaly project.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f3aa2082..dd05df73d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,7 @@ variables: GIT_VERSION: "v2.32.0" GO_VERSION: "1.16" RUBY_VERSION: "2.7" + POSTGRES_VERSION: "12.6-alpine" include: - template: Workflows/MergeRequest-Pipelines.gitlab-ci.yml @@ -74,7 +75,7 @@ danger-review: .postgres_template: &postgres_definition image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-${RUBY_VERSION}-golang-${GO_VERSION}-git-2.31-pgbouncer-1.14 services: - - postgres:11.8 + - postgres:${POSTGRES_VERSION} variables: PGHOST: postgres PGPORT: "5432" @@ -148,7 +149,7 @@ test: <<: *test_definition image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-${RUBY_VERSION}-golang-${GO_VERSION}-git-2.31 services: - - postgres:11.8 + - postgres:${POSTGRES_VERSION} variables: PGHOST: postgres PGPORT: "5432" @@ -247,7 +248,7 @@ secret_detection: praefect_sql_connect: <<: *test_definition services: - - postgres:11.8 + - postgres:${POSTGRES_VERSION} variables: POSTGRES_DB: praefect_test POSTGRES_USER: praefect |