Skip to content

Resolve "AutoDevOps stop action for staging and production environments"

What does this MR do?

Add stages for stop the production and staging deployments, currently there aren’t stop actions for those environments.

Screenshots or Screencasts (strongly suggested)

  1. Deploy the application using the AutoDevOps template.

image 2. Go to the Environment Panel and check the deployed application image

  1. Stop the environment by click on the red square stop button and you get the alert image

  2. Proceed anyway and there is any available environment anymore image

  3. Go to the Stopped environment and you see the production that has been stopped. image

  4. Click on the arrow button to go and check the environment, is there still alive, even though is listed as stopeed image

How to setup and validate locally (strongly suggested)

  1. Create a project where we can deploy an application with AutoDevOps
  2. Deploy an application with the following deployment strategies,
  • Continuous deployment to production
  • Automatic deployment to staging and manual deployment to production
  1. Stop the production and staging deployment with the stop_action buttons this MR adds.
  2. Confirm that the deployments have been stopped properly.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #339365 (closed)

Edited by Ricardo Amarilla

Merge request reports