diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-18 15:32:26 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-04-21 16:48:37 +0200 |
commit | 3b9d0dd1f68d7a9cfd6c14681916daec0a678473 (patch) | |
tree | aec8e3fbbeba0019eda32c3741181cd23d9021f3 | |
parent | 7ded28ff99d89d2ba51a522992f048ed446b4ce3 (diff) | |
download | gitlab-ce-test-db-migrate.tar.gz |
Add db:migrate task to CItest-db-migrate
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dc49ca336d..85730e1b687 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,6 +115,11 @@ bundler:audit: script: - "bundle exec bundle-audit check --update --ignore OSVDB-115941" +db-migrate-reset: + stage: test + script: + - RAILS_ENV=test bundle exec rake db:migrate:reset + # Ruby 2.2 jobs spec:feature:ruby22: |