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>2021-08-03 11:13:41 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2021-08-10 10:29:11 +0300
commit4864db9de899b3929408c781c4b5b7437eb574b6 (patch)
tree9f5a3a6a2eefb3b2bd30879f467ef9af6c661e59 /.gitlab-ci.yml
parent0a05afdd8789ddcb43effe73b5db2d12cf88fd66 (diff)
test: Removal of the postgres build tag
As we always require a PostgreSQL DB instance to be running during the test execution it makes no more sense to guard SQL dependent tests with a special build tag. The change removes the flag from the code. As we modify files that has a lint issues we should fix them as well otherwise the lint job will fail. We still need praefect_sql_test CI job because it verifies the service works properly with PgBouncer instance between service and database.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e7cb74dda..5f3aa2082 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -261,12 +261,15 @@ praefect_sql_connect:
- ./_build/bin/praefect -config config.praefect.toml sql-migrate
praefect_sql_test:
+ # This job verifies all operations run without issues if PgBouncer is set in between service and PostgreSQL database.
<<: *test_definition
<<: *postgres_definition
script:
- make test-postgres
backwards_compatibility_test:
+ # The job verifies the old version of the service could run its database migration on the database where the
+ # migration of the newest service version was already applied.
<<: *test_definition
<<: *postgres_definition
rules: