Skip to content

Add auto_deploy_environment_state metric

Reuben Pereira requested to merge rp/environment-state1 into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Add auto_deploy_environment_state metric.

  • Also add EnvironmentState class for validating state transitions for the auto_deploy_environment_state metric. The ready and locked states are added in this MR. Other states will be added in subsequent MRs. The reason why the environment is locked (deployment, post-deploy migration, QA) will be tracked in a separate metric, as discussed in gitlab-com/gl-infra/delivery#19907 (comment 1769741456).

gitlab-com/gl-infra/delivery#20062 (closed)

Author Check-list

  • Has documentation been updated?
Edited by Reuben Pereira

Merge request reports