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:
|
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:
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue