am running Gitlab-CI with runners on-prem. The issue I am currently facing is that my internet connection gets interrupted from time to time. This causes the pipelines in Gitlab-CI to fail. Due to that I want to set up a git mirror that stores the code in the same network as the Gitlab-Runners are connected to.
I have already tried to set up this git mirror https://github.com/beefsack/git-mirror, unfortunately this mirror doesnt support git lfs, which I need for my pipelines. Apart from git lfs, another issue I see with this implementation is that the code is not updated immediately. This can cause errors when the Gitlab CI pipeline starts but the branch is not available on the offline mirror.
What solutions are you using to mirror your git locally? Is there a way to automatically sync them in case of updates?
- What solutions are you using to mirror your git locally?
- Is there a way to automatically sync them in case of updates?
I would really appreciate any help! Thanks in advance!