Stopping environments through upstream
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Info about my setup:
- Using Gitlab.com (v14.1)
- From 2 different projects where stuff is being lintered, built etc. the pipeline of a deployment-repo is being triggered (Multi project pipeline)
- This Downstream creates (if it’s triggered in an MR) a temporary Gitlab Environment (Review Environment) that can be stopped manually. It also terminates after 1 day automatically.
What I didn’t realise while setting things up was that the environment doesn’t terminate when we merge the MR (branch deletion would also terminate the environment) because it’s not an MR in the deploy project but in one of the upstream projects.
In the documentation it says under limitations:
Some features are not implemented yet. For example, support for environments.
Not sure what that means exactly.
Proposal
Is it planned to add the feature to be able to stop an environment of a downstream repository from an upstream repository at a merge of the branch? I did not find much information about this, hope I didn't overlook any existing issues. The fact that it doesn't work limits our flexibility with review environments greatly as we start to have dangling environments that unnecessarily use up resources.