Merge request variables
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
We have a lot of "flags" that can be configured in our pipelines: https://docs.gitlab.com/ee/gitlab-basics/add-file.html#push-options-for-gitlab-cicd
Some users just add -o ci.variable=x=x on the cli but often we have long lived branches and MRs with a lot of folks pushing. In those cases we hardcode the variables into gitlab ci/cd settings so that every user doesn't have to correctly pass them.
The ugly thing about that is folks leaving behind variables and variables going stale, or even worse, when folks accidentally don't specify the environment and end up applying the variable to all pipelines!
I think it would be great if MRs themselves had a section to add flag/variable overrides. Imagine you were able to configure those into the MR so that every push to that branch automatically applies those variables. This way the variables are never left to go stale in the ci var list. After merging, the variables still exist on the MR as a form of documentation for future reference.