GitLab Documentation

CI/CD for external repositories

Introduced in GitLab Premium 10.6.

Instead of importing the repo directly to GitLab, you can connect your external repository to get GitLab CI/CD benefits.

This will set up repository mirroring and create a stripped-down version of a project that has issues, merge requests, container registry, wiki, and snippets disabled but can be re-enabled later on.

  1. From your GitLab dashboard click New project
  2. Switch to the CI/CD for external repo tab
  3. Choose GitHub or Repo by URL
  4. The next steps are similar to the import flow

CI/CD for external repository project creation

Leave a comment below if you have any feedback on the documentation. For support and other enquiries, see getting help.