Move config-mgmt back to gitlab.com and revamp its CI configuration
config-mgmt
is currently hosted in ops.gitlab.net
only: https://ops.gitlab.net/gitlab-com/gl-infra/config-mgmt/
This is inconvenient because:
- we have to go a different GitLab instance to work on it, while we have everything else on
gitlab.com
- which also makes external collaborations more complicated because access to
ops.gitlab.net
is more restricted - we can't link issues/MRs from/to it
The reason why it was moved from gitlab.com
to ops.gitlab.net
in the first place was so that the pipeline can run only for the affected environments for a given MR (nevermind that we still run ALL THE JOBS if we change anything outside environments/
anyway), but this is now a problem solved for mirrors so we can move it back here.
The CI pipeline will need a lot of changes to make that work, this is a good opportunity to revamp it, faster, clean, more efficient, with all the checks and reports, etc. The work done for a new Terraform pipeline from scratch in https://gitlab.com/gitlab-com/gl-infra/infra-mgmt/-/merge_requests/1 would be a good starting point.
We can also look at using Atlantis.
This work can also tie in with https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/16987+