From 68771115441caef15f8302a23d9ea00824d192d8 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 22 Sep 2016 14:47:46 +0200 Subject: [PATCH] Improve CI job that tests database seeds --- .gitlab-ci.yml | 8 ++++---- 1 file 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