summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-19 16:11:08 +0000
committerRémy Coutable <remy@rymai.me>2017-09-19 16:11:08 +0000
commit02b398d3e9fee38b84296ce1519c039ee6c1a3ad (patch)
tree2e2f6f55a267b4b013aa1342fd406859ac0fa582 /.gitlab-ci.yml
parente0332ecf6e64ef5d5a925f209d62d2d781e73834 (diff)
parent9cd0d68fe90f27ad297317cd8cc5e8f81c2d75a9 (diff)
downloadgitlab-ce-02b398d3e9fee38b84296ce1519c039ee6c1a3ad.tar.gz
Merge branch 'dz-check-schema' into 'master'
Add rake task to check db schema is valid Closes #37568 See merge request gitlab-org/gitlab-ce!14365
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 cc3c170cb23..375757086a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -516,6 +516,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