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:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ff92d543..dc05f9935 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -217,6 +217,24 @@ verify:
- proto/go/gitalypb/*
when: on_failure
+dbschema:
+ <<: *cache_definition
+ stage: test
+ services:
+ # The database version we use must match the version of `pg_dump` we have
+ # available in the build image.
+ - postgres:11.13-alpine
+ variables:
+ <<: *postgres_variables
+ before_script:
+ - while ! psql -h $PGHOST -U $PGUSER -c 'SELECT 1' > /dev/null; do echo "awaiting Postgres service to be ready..." && sleep 1 ; done && echo "Postgres service is ready!"
+ script:
+ - make dump-database-schema no-changes
+ artifacts:
+ paths:
+ - _support/praefect-schema.sql
+ when: on_failure
+
gosec-sast:
before_script:
- apk add pkgconfig libgit2-dev gcc libc-dev