clean old environments

Please read this!

Before opening a new issue, make sure to search for keywords in the issues filtered by the "feature proposal" label:

For the Community Edition issue tracker:

  • https://gitlab.com/gitlab-org/gitlab-ce/issues?label_name%5B%5D=feature+proposal

For the Enterprise Edition issue tracker:

  • https://gitlab.com/gitlab-org/gitlab-ee/issues?label_name%5B%5D=feature+proposal

and verify the issue you're about to submit isn't a duplicate.

Please remove this notice if you're confident your issue isn't a duplicate.


Description

I was testing gitlab ci environments, I've read the documentation(s). I use proper way to create and stop dynamic environment (deployments).
But while I was testing this feature, I created many environments, and now, I can't stop / delete / clean it.
Also it can be just API, to programmatic usage for stopping environments.

Proposal

Give ability to clear old environments, especial it will be useful for environments that was not created with on_stop parameters. And please create documentation.

Links / references

Some screenshots

http://joxi.ru/zANQ4PesBajM12 http://joxi.ru/12MV4PesMWk51A http://joxi.ru/BA0aOX6iJRpE4r http://joxi.ru/Vrwpn7YuO0460m

Overview

What is it? UX proposal.
Why should someone use this feature? If someone have same problem as, he will have troubles with explanation to other developer/QA/client/... where they can look at the production/staging/feature-XXX.
What is the underlying (business) problem?
Problem with demonstration to clients the developed features and progress.
How do you use this feature?

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

  • Feature assurance
  • Documentation
  • Added to features.yml
Assignee Loading
Time tracking Loading