Commit 68771115 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Improve CI job that tests database seeds

parent e7d24721
...@@ -224,7 +224,7 @@ rake db:migrate:reset: ...@@ -224,7 +224,7 @@ rake db:migrate:reset:
script: script:
- rake db:migrate:reset - rake db:migrate:reset
rake dev:setup: rake db:seed_fu:
stage: test stage: test
<<: *use-db <<: *use-db
variables: variables:
...@@ -232,9 +232,9 @@ rake dev:setup: ...@@ -232,9 +232,9 @@ rake dev:setup:
RAILS_ENV: development RAILS_ENV: development
script: script:
- mkdir -p /home/git/repositories - 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
- git clone https://gitlab.com/gitlab-org/gitlab-test.git /home/git/repositories/gitlab-org/gitlab-test.git /home/git/repositories/gitlab-org/gitlab-test.git
- rake dev:setup - bundle exec rake db:setup db:seed_fu
artifacts: artifacts:
when: on_failure when: on_failure
expire_in: 1d expire_in: 1d
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment