githubcontinuous-integrationgithub-actionsgitlab-cimesos

Configuring a self hosted GitLab-CE CI/CD server in parallel with a GitHub Team account


I am looking to perform code reviews as part of a trunk based development approach with my backend team on a self hosted gitlab server. I also wish to use it to deploy to internally hosted infrastructure. I also want to maintain my current Github team account from which I will be looking to make deployments to AWS and have it server as a backup of the main branch.

My approach to setting this up will be as follows:

In parallel to this last step I wish to mirror merges to my main branch to github but to selectively choose when I run Github Actions to deploy to an M3s / Apache mesos cluster to AWS.

Is this possible and does it abide by a sound trunk based development and CI/ CD methodology ?


Solution

  • Sounds ok, though have some thoughts: