Environments: Allow to DELETE an environment without STOPPING it
Release notes
In 15.1, we added a force option to the Stop and environment API. This allows you to effectively delete an active environment without running the specified on_stop jobs.
Problem to solve
When on_stop is specified, stopping an environment will schedule a delete job to be run.
I need to delete some stale environments from GitLab because they got out of control and slow down our GitLab. I do NOT want GitLab to execute the delete jobs as this would:
- Schedule hundreds of thousands of jobs in GitLab Runners
- Be potentially destructive to these (non-GitLab) deployments.
Intended users
Personas are described at https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/
User experience goal
The user should be able to use Environments and Deployments pages without killing GitLab server. #19724 (closed)
Proposal
Allow me to DELETE an environment without STOPPING it.
Links / references
@dosuken123 @markglenfletcher
Related: #19724 (closed)