-
Notifications
You must be signed in to change notification settings - Fork 236
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
[WIP] Road to version 9.0: Updated go version to 1.22 & Fixed Breaking Changes ✨ #1037
base: version-9.0
Are you sure you want to change the base?
Conversation
- Context API support is added to the Jenkins API interface.
- Old mocks removed - New Mocks Added for Jenkins API that has support for context API
*Changes* - Continuation WIP of jenkinsci#954 - Updated Go Version to - v1.22 - Updated Mocks for `pkg/controller/jenkins/client/jenkins.go` to support new changes - Updated package level tests - refactored code to adapt `context` API - Updated dependencies *Pending* - [] make E2E & HELM tests compatible to new changes
wow great work in few days so far! 👏 🚀 let's remove the Checking the bats logs I saw some issues but let's make sure that the e2e tests are working first, I can help in case of issues since I have the deep knowledge of those tests, so let me know in case you will face something odd :) |
Sure, Iet's go with that |
I see great progress :) to fix the latest issues can you update the controller gen version? -KUSTOMIZE_VERSION ?= v3.8.7
-CONTROLLER_TOOLS_VERSION ?= v0.9.2
+KUSTOMIZE_VERSION ?= v5.3.0
+CONTROLLER_TOOLS_VERSION ?= v0.14.0 we probably also need to change the envtest version and installation method but it's not critical now |
seems to be an type check errors issue among packages I will look into it ! |
@brokenpip3 Have you checked it |
ehi @ansh-devs unfortunately no, I still need to do it. |
Sure take your time😃 |
Hi @brokenpip3, are there any breaking changes due to upgrade ? |
No no nothing :) |
Changes
controller-runtime
.configMapResource
in jenkinsController.golangci-lint@v1.55.0
.pkg/controller/jenkins/client/jenkins.go
to support new changes.Pending changes
NOTE
.github/workflows
that is to excludego.sum
from CodespellView Patch