Add optional expiration time to environments, like artifacts
Review apps are short lived by definition. Unfortunately, stale branches are ubiquitous (gitlab-ce has ~1,600). Keeping all as review apps would be a burden.
Just like artifacts can expire, environments should stop after a certain time defined in
And just like artifacts can be "promoted" as non-expiring in the UI, so should be environments.
job:when:delay: 2 weeks could be a general-purpose feature to achieve almost the same.
In that case, a way to unschedule execution should be provided. After a job has been unscheduled, it behaves like a