Provide a mechanism to clean up stale environments
So, this is coming from a problem we're currently facing.
We have the review-docs manual job which created review-docs environments. As you can see, we currently have almost 500 environments, 95% of which do not have a deployment.
The environments are created when the job is in
created state, which means even if it's a manual job.
Provide a button/link/whatever that will stop all environments that are currently with no deployment, or are older than a specified date. That action would be similar to the "Delete merged branches" https://docs.gitlab.com/ee/user/project/repository/branches/index.html#delete-merged-branches.
For people struggling to clean up stale environments.
Make sure these are completed before closing the issue, with a link to the relevant commit.