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:
Mondo Diaz
2026-01-14 17:35:33 +00:00
parent 1d05b0f238
commit f4648ed7b1

View File

@@ -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: