Skip to content

Resolve "Delete an environment via UI"

Jake Burden requested to merge 20620-delete-an-environment-via-ui into master

What does this MR do?

Adds a UI to delete an environment https://docs.gitlab.com/ee/api/environments.html#delete-an-environment

If an environment has been stopped, it displays a delete button in both the list and detail views.

Closes #20620 (closed)

Screenshots

List View

If an environment is running, the stop button is available: image

If an environment is stopped, the delete button is available: image

If the delete button is clicked, a delete modal appears. Clicking delete brings the user back to the environments page. image


Detail View

If an environment is running, the stop button is available: image

If an environment is stopped, the delete button is available: image

If the delete button is clicked, a delete modal appears. Clicking delete brings the user back to the environments page. image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #20620 (closed)

Edited by Jake Burden

Merge request reports

Loading