Improve CI job that tests database seeds

This commit is contained in:
Grzegorz Bizon 2016-09-22 14:47:46 +02:00
parent e7d24721f2
commit 6877111544

View file

@ -224,7 +224,7 @@ rake db:migrate:reset:
script:
- rake db:migrate:reset
rake dev:setup:
rake db:seed_fu:
stage: test
<<: *use-db
variables:
@ -232,9 +232,9 @@ rake dev:setup:
RAILS_ENV: development
script:
- mkdir -p /home/git/repositories
- git clone https://gitlab.com/gitlab-org/gitlab-ce.git /home/git/repositories/gitlab-org/gitlab-ce.git
- git clone https://gitlab.com/gitlab-org/gitlab-test.git /home/git/repositories/gitlab-org/gitlab-test.git
- rake dev:setup
- git clone https://gitlab.com/gitlab-org/gitlab-test.git
/home/git/repositories/gitlab-org/gitlab-test.git
- bundle exec rake db:setup db:seed_fu
artifacts:
when: on_failure
expire_in: 1d