Skip to content

"Run CI/CD pipelines for external repositories" - GitHub does not set-up mirroring or integrations

Summary

Steps to reproduce

  1. Click on the (+) Sign -> New Project/Repository
  2. Select Run CI/CD for external repository, and click on the Connect repositories from (GitHub) logo
  3. This should redirect you to https://gitlab.com/import/github/status?ci_cd_only=true
  4. After linking your account and the details; clicking on import creates a new project
  5. The mirroring repository feature AND the integration feature are not enabled by default

Example Project

What is the current bug behavior?

The repository was cloned successfully, but Mirroring integration wasn't created.

If we go to Settings > Repository > Mirroring repositories - No integrations.

Additionally Settings > Integrations - No active integrations (GitHub should be active by default)

What is the expected correct behavior?

Mirroring repositories should be reflected in the "Mirroring repositories" tab

Additionally the same for integrations

Expand for output related to GitLab environment info

  (For installations with omnibus-gitlab package run and paste the output of: \\\`sudo gitlab-rake gitlab:env:info\\\`)  (For installations from source run and paste the output of: \\\`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production\\\`)   

Results of GitLab application Check

Expand for output related to the GitLab application check

 (For installations with omnibus-gitlab package run and paste the output of: \`sudo gitlab-rake gitlab:check SANITIZE=true\`)  (For installations from source run and paste the output of: \`sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true\`)  (we will only investigate if the tests are passing)  

Possible fixes

Edited by Max Fan