Github Repository Integration with Gitlab CI/CD Pipeline
This guide provides guideline on how to configure Github repository with Gitlab CI/CD pipeline.
This section provides guideline regrading integration:
Make sure that Gitlab account user must have the access to Github repositories.
Create a new project in Gitlab.
CI/CD for external repofrom
It provides further two options on how connect the new project with remote repository:
git Repo by URL.
Githuboption, it will show list of repositories. Select any one repository to configure its pipeline. Gitlab with sync the project.
Gitlab provides following feature for synced project:
Gitlab pipeline provides
Git shallow clonefeature which can be used to pull x number of changes from repository. Its default value is
50, but in this scenario all change are required so therefore
0(means to pull all the changes) will be configured. Go to
Project -> Settings -> CI/CD -> General pipelines -> Git shallow clonelocation and change its value.