-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(cleanup AWS) garbage collect EC2 snapshots older than 1 year on us-east-2
#587
chore(cleanup AWS) garbage collect EC2 snapshots older than 1 year on us-east-2
#587
Conversation
Signed-off-by: Damien Duportal <[email protected]>
Signed-off-by: Damien Duportal <[email protected]>
Initial build was too long (more than 20 min and counting). Let's start slowly with a 12month threshold for the first cleanup operation. |
us-east-2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, wondering if regrouping the two scripts together would worth it 🤔
(It seems to me they are almost similar except for the query, the cleanup command parameter and the subject of the log messages)
Co-authored-by: Hervé Le Meur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Interested to know nonetheless WDYT about #587 (review)
The goal is to keep a list of simpler scripts to be run independantly of each other. |
This PR, once applied, failed the GC with the following error:
|
Implements jenkins-infra/helpdesk#2846 (comment), in the context of jenkins-infra/helpdesk#3502.
This PR add a GC for AWS snapshots, restricted to
us-east-2
.