-
Notifications
You must be signed in to change notification settings - Fork 36
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
Upgrade CAPI to 1.6 #422
Upgrade CAPI to 1.6 #422
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vishesh92 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-cluster-api-cloudstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #422 +/- ##
=========================================
Coverage 25.66% 25.67%
=========================================
Files 59 72 +13
Lines 5563 6719 +1156
=========================================
+ Hits 1428 1725 +297
- Misses 3996 4834 +838
- Partials 139 160 +21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a3b67bb
to
d82af01
Compare
Test Results : (tid-605)
|
Test Results : (tid-606)
|
d82af01
to
06411e8
Compare
06411e8
to
a0379f9
Compare
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 in theory, this may need both CI/CD tests but manual tests around upgrades etc.
Test Results : (tid-614)
|
@vishesh92 should we fix them before merge ? |
a0379f9
to
72a0f6b
Compare
I ran some tests in the lab. These tests seems to be failing on main branch as well. Let me debug and see if I can find a fix for them. I will raise a separate PR for that. The only test which seems to failing consistently is
|
Test Results : (tid-632)
|
since there is no major issues found in e2e tests, let's merge it we will have to intensively test all cases before next release /lgtm |
Issue #, if available:
Description of changes:
Upgrade CAPI from 1.4 to 1.6.
https://release-1-7.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.4-to-v1.5
https://release-1-7.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.5-to-v1.6
Copilot generated summary
This pull request includes several updates to the
Makefile
and various Go files in theapi/v1beta1
,api/v1beta2
, andapi/v1beta3
directories. The most significant changes involve updating Kubernetes and Cluster API versions in theMakefile
and modifying the way types are registered in the Go files.Makefile updates:
1.26.1
to1.28.3
([MakefileL94-R94](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52L94-R94)
).v1.4.8
tov1.6.8
([MakefileL247-R247](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52L247-R247)
).Go file updates:
SchemeBuilder.Register
to appending toobjectTypes
across multiple files inapi/v1beta1
,api/v1beta2
, andapi/v1beta3
directories ([[1]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-4b94866233c775f7db7e829dcd653e701ec7041d9dec436536f0905fdd2f13adL69-R69)
,[[2]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-ed32f654de8491b6b860817f5fece54fab8f4b13939588a62266faa0c9d98e05L157-R157)
,[[3]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-22821d88a16eeb653e15095c2734c8245d2ebf1134042444a18196180de3f017L84-R84)
,[[4]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-4e227699d188c232eddb476c90fa6db6f293e30d9bed6300342709e01beb87bcL183-R183)
,[[5]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-52df3648309a4a4a4f7b7a8bd300f6e343351c629f2e79134218fed61e9176b0L57-R57)
,[[6]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-ad47f1ff6b3fccc613847fd56967aae3454310043266dfec617a78a236bcca03L57-R57)
,[[7]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-6420e8722294ea30f3e3e6d4bcedd13b4ba5b64692bfb7a8eba00822170fec2bL69-R69)
,[[8]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-6472d1b84de9aef5c7eec22a0eb5ae27c1cd6ef5b65d4256bce4b5a45e8ea0feL71-R71)
,[[9]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-cbd3223219f25ae867cfdd8fbb17697639b58b83072f981df6668625bbce7056L74-R74)
,[[10]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-5bbacdaa5727977709edad518dd402ef626c07609a4ccc5acdd7da0fc0fc48a6L120-R120)
,[[11]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-7fe7bc13107fcdafc3c527472a45ea37d8333c5798b1b426f683582ea4e45979L85-R85)
,[[12]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-f3b519998675cc6a6bcebb1490be52f4034c6790d7c811090e9b33282620bc1dL185-R185)
,[[13]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-0dc44d1ea5772288a88f18c39c4e4663f614eae45ffa5e2f77964c3929149eaaL55-R55)
,[[14]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-f94f47bc5df8f8ab4eb9422201fc0bc00cf40fd60da078356b6c3348d0bbf02eL56-R56)
,[[15]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-1c99acda2cb1727e1de05080cd7be15428f74a38c70a4ea2ca4f4abd11e1d225L72-R72)
).groupversion_info.go
files to use a newschemeBuilder
andobjectTypes
for type registration, and added theaddKnownTypes
function ([[1]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-2a8cb044729b9c527231ffcee964039eff18223508d5c7e8f586e1d7fd69fd2aR23-R48)
,[[2]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-07742cfcb20b8b9e053d2b478d5855cab11ed8ecb7b00fbbd69f9f9353265476R23-R47)
).zz_generated.deepcopy.go
files ([[1]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-ea922c6dc50e1006dbedec93a5d58173a622630990e2985d97d6c088cf9cce79L26-R26)
,[[2]](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/pull/422/files#diff-f3cf8f78c3d1f91ca1c13effff678669275fe106b54c9799088ca345a36e69f6L26-R26)
).Testing performed:
Manually created a cluster.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.