2015年11月15日 星期日

import AOSP to gitlab


AOSP have almost 700 repositories, it is failed to import them into gitlab.

Install from source, it introduced database (postgresql) and redis

Gitlab architecture:


unofficial gitlab docker:

detail description of parameters:

issue "500 error" after import lots of repositories:

It seems be fixed in this issue?

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/import.md
root@8395b04d4219:/home/git/gitlab# bundle exec rake gitlab:import:repos RAILS_ENV=production

The official docker image give me another issue:
Failed to create repository via gitlab-shell