Try cloning repositories before seeding database

Seeding database requires gitlab-shell, and we would like to avoid
adding this dependency to the CI.
This commit is contained in:
Grzegorz Bizon 2016-09-22 14:28:37 +02:00
parent 9aa0127cc2
commit e7d24721f2

View file

@ -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