diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-09-22 14:47:46 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-09-22 14:47:46 +0200 |
commit | 68771115441caef15f8302a23d9ea00824d192d8 (patch) | |
tree | e38118471f1220f737b5c87b77d7d6f66fe988b4 /.gitlab-ci.yml | |
parent | e7d24721f2ab9b91f661fd3ae1c767f21120bb08 (diff) | |
download | gitlab-ce-68771115441caef15f8302a23d9ea00824d192d8.tar.gz |
Improve CI job that tests database seeds
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2c4ee01c15..3dfab341e39 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 |