Add auto_stop_in for feature environment cleanup
Feature branch environments will automatically stop after 1 week, triggering the cleanup_feature job. This ensures orphaned deployments are cleaned up even if the branch deletion doesn't trigger cleanup.
This commit is contained in:
@@ -294,6 +294,7 @@ deploy_feature:
|
||||
name: review/$CI_COMMIT_REF_SLUG
|
||||
url: https://orchard-$CI_COMMIT_REF_SLUG.common.global.bsf.tools
|
||||
on_stop: cleanup_feature
|
||||
auto_stop_in: 1 week
|
||||
kubernetes:
|
||||
agent: esv/bsf/bsf-integration/orchard/orchard-mvp:orchard
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user