✨ Bump CAPI to v1.3.0#1406
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tobiasgiese The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5039b0f to
b4f18ad
Compare
356efa7 to
e5b754c
Compare
|
Waiting for #1408 to be merged |
e5b754c to
19a2546
Compare
e2e tests are green |
|
Do we want to add CAPI v1.3.0 support to our v0.7 release? WDYT @mdbooth? |
|
/cherry-pick release-0.7 |
|
@tobiasgiese: once the present PR merges, I will cherry-pick it on top of release-0.7 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/lgtm |
|
Feel free to remove the hold @mdbooth |
|
/lgtm |
19a2546 to
642ae97
Compare
9338897 to
76a5c22
Compare
mdbooth
left a comment
There was a problem hiding this comment.
Looks good.
I'm confused about the inclusion of E2E_IMAGE_URL, though. Was this broken before? If not, what is included in this PR which requires it?
| CONFORMANCE_WORKER_MACHINE_COUNT: "5" | ||
| CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "1" | ||
| INIT_WITH_KUBERNETES_VERSION: "v1.25.0" | ||
| E2E_IMAGE_URL: "http://10.0.3.15/capo-e2e-image.tar" |
There was a problem hiding this comment.
This was moved from
If we don't specify it in the
e2e_conf.yaml the following error occurs
[FAILED] Failed to run clusterctl config cluster
Unexpected error:
<*yamlprocessor.errMissingVariables | 0xc00121d740>: {
Missing: ["E2E_IMAGE_URL"],
}
value for variables [E2E_IMAGE_URL] is not set. Please set the value using os environment variables or the clusterctl config file
occurred
In [It] at: /root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.3.0/framework/clusterctl/client.go:302 @ 12/04/22 11:36:50.414
There was a problem hiding this comment.
There was a problem hiding this comment.
But according to the comment
We need the e2e image to "pick the latest release with the correct contract"
There was a problem hiding this comment.
It looks like it was a bug in the previous PR: we're including ci-hack-hc(p|t).yaml unconditionally in all the E2E tests, and they reference E2E_IMAGE_URL. However, we're only setting the environment variable in the cluster upgrade test. Presumably the undefined variable error is a change of behaviour in CAPI 1.3, or we'd have noticed this before.
@lentzi90 I wonder if we want to be consistent in the use of e2eCtx here:
Right now we're setting the same value in 2 places. It doesn't look like the clusterctl upgrade tests reads e2e_conf.yaml, so we likely can't remove the other one. I'd prefer to do this the same way in both places.
I don't think we need to hold up this PR, though. I'll open an issue to track it a tidy up.
There was a problem hiding this comment.
Ah, nm. It is initialised and you already fixed it 🤦
This was just moved from the |
During this bump we must upgrade Golang to 1.19 as well. Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
This reverts commit 32a9fc9. Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
76a5c22 to
031966f
Compare
|
/lgtm |
|
@tobiasgiese: new pull request created: #1411 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #1315
This PR bumps the CAPI version to v1.3.0 and respects the version migration guide.
Non-obvious ginkgo v2 changes:
setup-envtest(i.e., controller-runtime) inMakefileto the most recentmaster.Otherwise, the
etcdandkube-apiserverbinaries are not available in our unit tests with ginkgo v2-progressto-show-node-eventsBy()insideIt()to fix ginkgo errors (see Documenting Complex Specs: By)-timeout=3hto the e2e tests because the default timeout has been reduced from 24h down to 1hSpecial notes for your reviewer:
TODOs:
/hold