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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-19 15:58:25 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-19 16:42:44 +0300
commit9cd0d68fe90f27ad297317cd8cc5e8f81c2d75a9 (patch)
tree7ec3a9115dffc8dc1e5051537b0a1b87d33b1fdf /.gitlab-ci.yml
parentb7cd5897098ec99b5eca7a3ebcc1c70d7501cd23 (diff)
Add rake task to check db schema is valid
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0520f3b1c37..d797fdc4699 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -517,6 +517,12 @@ db:seed_fu-mysql:
<<: *db-seed_fu
<<: *use-mysql
+db:check-schema-pg:
+ <<: *db-migrate-reset
+ <<: *use-pg
+ script:
+ - source scripts/schema_changed.sh
+
# Frontend-related jobs
gitlab:assets:compile:
<<: *dedicated-runner