Skip to content

Resolve "Can't set "never" as an environment auto_stop_in value"

What does this MR do and why?

Allows users to set never for an auto_stop_in value

Screenshots or screen recordings

To see the new feature, set this in your .gitlab-ci.yml file for a deployment step

environment:
    name: "production"
    auto_stop_in: never

How to set up and validate locally

  1. Setup an environment with auto_stop_in set to never
  2. Notice no errors when evaluating the file

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #264198 (closed)

Edited by Allen Cook

Merge request reports

Loading