-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune hanging instances longer than 2 hours (#2061)
Some ec2 instances aren't successfully terminated along with the pruned commits/jobs and we don't have any additional retry logic to handle that. This adds logic to the job pruner to terminate any ec2-test-framework instances hanging longer than a couple hours. There were also some inconsistent failures with the instance wanting to be restarted, removing `needrestart` from the instance should solve that. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
1 parent
c23791a
commit 92b771f
Showing
2 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters