From e7d24721f2ab9b91f661fd3ae1c767f21120bb08 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 22 Sep 2016 14:28:37 +0200 Subject: [PATCH] Try cloning repositories before seeding database Seeding database requires gitlab-shell, and we would like to avoid adding this dependency to the CI. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f9c610a842..b2c4ee01c15 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -232,6 +232,8 @@ 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 artifacts: when: on_failure