summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-09-22 14:28:37 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-09-22 14:28:37 +0200
commite7d24721f2ab9b91f661fd3ae1c767f21120bb08 (patch)
tree77991b83526f816597d0ec83d842ca1995f0adb8 /.gitlab-ci.yml
parent9aa0127cc22f71de4ca432c63b03cbc6c839099d (diff)
downloadgitlab-ce-e7d24721f2ab9b91f661fd3ae1c767f21120bb08.tar.gz
Try cloning repositories before seeding database
Seeding database requires gitlab-shell, and we would like to avoid adding this dependency to the CI.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
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