kibana/.buildkite/scripts/steps/cloud
Jonathan Budzenski f290977064
[cft] Remove deployment when a PR is outdated (#140755)
* [cft] Remove deployment when a PR is outdated

This changes the stale deployment ttl from 7 days to 2 days
to match the PR outdated check.  The longer a deployment is active, the
more likely it is that we'll see a snapshot related break somewhere in
the stack.  These are typically template or migration related script
changes.

Longer running deployments can also run out of disk space and start
alerting on health checks.

* day in seconds

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-19 13:52:26 -05:00
..
build_and_deploy.sh Revert "[cft] Temporarily disable cloud deployments (#140538)" (#140622) 2022-09-13 09:49:19 -05:00
deploy.json [cft] Stabilize deployments (#140748) 2022-09-19 13:51:31 -05:00
purge_deployment.sh [cft] Add pipeline to shutdown deployment (#136659) 2022-07-20 10:22:25 -05:00
purge_deployment.ts [cft] Add pipeline to shutdown deployment (#136659) 2022-07-20 10:22:25 -05:00
purge_deployments.sh [cft] Add pipeline to shutdown deployment (#136659) 2022-07-20 10:22:25 -05:00
purge_deployments.ts [cft] Remove deployment when a PR is outdated (#140755) 2022-09-19 13:52:26 -05:00
stack_monitoring.json [cloud deploy] Enable stack monitoring (#126278) 2022-02-23 14:46:39 -06:00