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:
authorStan Hu <stanhu@gmail.com>2021-11-19 07:40:31 +0300
committerStan Hu <stanhu@gmail.com>2021-11-19 08:56:28 +0300
commit75c68a57ecd5ed27217544e87a4dde351a437e18 (patch)
tree3a79f67f33576123d96f97a55878f68a3007d60a
parentf3563d64b29f8508be505defc722604d389b0b35 (diff)
Add CI tests for PostgreSQL v11sh-test-pg11
We added a `MATERIALIZED` view to optimize the metrics query, but this keyword is only available in PostgreSQL v12. This caused an severity 3 incident: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5945 The Praefect database in Cloud SQL is running v11, and we have customers also using v11. Relates to https://gitlab.com/gitlab-org/gitaly/-/issues/3930
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cfe49d78c..9196a00eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -188,6 +188,7 @@ test:
- GO_VERSION: [ "1.16", "1.17" ]
TARGET: test
- GO_VERSION: "1.17"
+ POSTGRES_VERSION: [ "12.6-alpine", "11.14-alpine" ]
TARGET: [ test-with-proxies, test-with-praefect, race-go ]
nightly:git: