We’ve been trying to find a solution to the following problem space.
- We utilise a few OSS projects that have their source on GitHub (but could also be Gitlab or Bitbucket, etc).
- Some of these either do not have any CI/CD or do not provide any build artefacts in a manner we can consume in our projects.
- We’d like to mirror/fork these OSS projects from Github and keep them in sync with the upstream project and add our own CI/CD to this to generate the build artefacts we require (we’re happy to bear the cost of the CI/CD to do this).
- We only use GitLab SaaS (gitlab.com) for both hosting the code and the CI/CD.
- We don’t need to push code back to the GitHub upstream from our fork, any work like that will be done using Github’s PR system.
The only thing I can think of that would work would be to utilise the upstream project as a submodule and add our CI/CD to it that way.
Has anyone else solved this in a simpler or more reliable way?