[Discussion] Move Release Environment configurations out of GitLab repository
Currently, many configurations of release environment live in https://gitlab.com/gitlab-org/gitlab repo, like:
- The script to generate environment file for the deployment
- The pipeline to deploy and run QA on the release environments
IMO, it makes a mix of concern between the GitLab repo - the Rail code, and the release-environments repo - the place where all actions related to release environments should happen. Ideally, the only mention of release-environments in the GitLab repo should be the trigger in the pipeline. The rest of the logic should be done in the release-environments repo.
Some problems I see with having RE's configuration in GitLab repo are:
- It is confusing for new team members joining the project
- Long waiting time for MR reviews
- The required reviewers are not the real owners/developers of RE, thus a question about domain knowledge
- Q: Is it possible to set a new CODEOWNER for .gitlab/ci/release-environments ?
- The changes in RE are not part of the GitLab Rail codebase
- Every change needs to backport to the stable branches, which is both cumbersome and may make situations that an old stable branch does not work with release-environments repo anymore
Let's discuss.
Edited by Dat Tang