I have a situation where I need to set up a CI/CD project in our Gitlab which is pointing to an external git repo which we do not control. The intent is to do a build when the external repo is updated. Given that we cannot put a .gitlab-ci file in the external repo, how do we handle configuring the build? Thanks.
See my reply: Mirror of github project with gitlab runners
Our way was:
- setup GitLab project to automatically sync from the origin in GitHub
- create a branch from the tag you want to build
- in this branch add .gitlab-ci.yml