Improve CI job that tests database seeds
This commit is contained in:
parent
e7d24721f2
commit
6877111544
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue