-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
(packer-images): Add Garbage Collector for AWS #4355
Comments
Update:
|
Update: jenkins-infra/kubernetes-management#5892 and jenkins-infra/packer-images#1527 adds the aws credentials and Once merged, we can merge jenkins-infra/packer-images#1528 which makes the garbage-collector |
Update: Task list to follow: This first version works well! Next steps:
garbage collector now exists as a distinct job |
On adding the aws garbage collection, we noticed that the
Even though the script failed, the logs reported the build step as successful, which is unexpected behaviour on infra.ci (https://infra.ci.jenkins.io/job/infra-tools/job/packer-images-gc/job/main/65/pipeline-console/?selected-node=19) Also there was an unexpected behaviour with the Further steps will involve fixing these errors and unexpected behaviour of infra.ci |
jenkins-infra/kubernetes-management#5895 partially works as the configuration was applied on While tag discovery was successfully disabled, the github checks report of the garbage collector is still published on |
Explanation: your changes were good and did disable the usual "Status checks" (e.g. one status check per stage by default, pipeline reporting and custom status checks). If you look at the configuration below, you see the checkbox "Skip publishing Status check" is selected , which was not the case before your changes 👍 However, we now need to have the "Suppress progress updates in job check" and "Skip GitHub Branch Source notifications" checbox selected to be sure that:
We need to allow these to be configured in the "Jenkins Jobs" helm chart in https://github.com/jenkins-infra/helm-charts/blob/575396eb4f6c813f59a36610594c12446222935c/charts/jenkins-jobs/templates/_jobDSL_jobs_multibranch.tpl#L38-L40 => let me do this right now. |
Update on the job configuration:
|
Update:
|
The root cause comes from a recent change in the Packer Amazon EBS build:
=> we need to add a tag |
Last tasks have been done (see #4355) @jayfranco999 reported we don't have dangling instances no more \o/ |
Due to the complexity of this PR – jenkins-infra/packer-images#1430
We are splitting the tasks into 4 stages, this issue is related to handling the Garbage collector scripts foe old AWS AMI Images.
We are reintroducing the amazon login that we were using with our previous AWS jenkins account – jenkins-infra/packer-images#734
us-east-2
aws.sh
as daily cleanup taskOriginally posted by @jayfranco999 in #4316 (comment)
The text was updated successfully, but these errors were encountered: