Skip to content
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

[terraform-aws-sponsorship] updatecli manifest to track karpenter helm_release version #4504

Closed
jayfranco999 opened this issue Jan 20, 2025 · 3 comments

Comments

@jayfranco999
Copy link
Collaborator

jayfranco999 commented Jan 20, 2025

Service(s)

AWS, terraform, updatecli

Summary

As per https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/b6db2d61a6d0dc331ad76d265f21f4d1c95146c2/eks-cijenkinsio-agents-2.tf#L325

We need to track karpenter helm_release version

use helm chart resource from the repository oci://public.ecr.aws/karpenter

@jayfranco999 jayfranco999 added the triage Incoming issues that need review label Jan 20, 2025
Copy link

@jayfranco999
Copy link
Collaborator Author

Update:

We now use helm chart source to retrieve the latest helm release:

Tested successfully on infra.ci (https://infra.ci.jenkins.io/job/updatecli/job/terraform-aws-sponsorship/job/PR-103/18/pipeline-console/log?nodeId=18)

[2025-02-11T09:55:13.655Z] target: target#updateChartVersion
[2025-02-11T09:55:13.655Z] -------------------------
[2025-02-11T09:55:13.655Z] 
[2025-02-11T09:55:13.655Z] **Dry Run enabled**
[2025-02-11T09:55:13.655Z] 
[2025-02-11T09:55:13.655Z] ⚠ - changes detected:
[2025-02-11T09:55:13.655Z] 	path "resource.helm_release.cijenkinsio_agents_2_karpenter.version" updated from "1.1.1" to "1.2.1" in file "eks-cijenkinsio-agents-2.tf"

Noticed an unexpected behaviour on updatecli pipeline where jobs were failing since manifest to fetch aws provider version was failing (unrelated to PR but worth looking into)

[2025-02-11T09:55:13.656Z] ERROR: something went wrong in "target#updateTerraformLockFile" : something went wrong in target "updateTerraformLockFile" : "✗ failed to query provider locks for provider: \"hashicorp/aws\", version: \"5.86.1\", platforms: [\"linux_amd64\" \"linux_arm64\" \"darwin_amd64\" \"darwin_arm64\"]: unexpected HTTP Status Code: 404"
[2025-02-11T09:55:13.656Z] 
[2025-02-11T09:55:13.656Z] Pipeline "Bump Terraform `aws` provider version" failed
[2025-02-11T09:55:13.656Z] Skipping due to:
[2025-02-11T09:55:13.656Z] 	something went wrong during target execution

@jayfranco999
Copy link
Collaborator Author

Automatic PR has been created to update the karpenter helm-release version – jenkins-infra/terraform-aws-sponsorship#125

We can close the issue with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants