August 2019
Beginner
608 pages
16h 7m
English
The GitLab rake task can import a single project or multiple projects at once. It is invoked from the command line, so you need administrator access to the machine where the GitLab application is running.
When specifying a GitHub repository as the fourth argument to the rake task, you can directly import it.
To import a specific GitHub project (named joustie/github_repo here), do the following:
sudo gitlab-rake "import:github[<personal_access_token>,<gitlab user>,<namespace/project>,<source_namespace/github_repo>]"
bundle exec rake "import:github[<personal_access_token>,<gitlab user>,<namespace/project>,<source_namespace/github_repo>]" RAILS_ENV=production
To import ...
Read now
Unlock full access