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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尡 test/e2e: Drop support for Kubernetes < v1.24.0 in the RuntimeSDK upgrade test #7172

Merged

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented Sep 6, 2022

Signed-off-by: Stefan B眉ringer buringerst@vmware.com

What this PR does / why we need it:
We have to support older Kubernetes versions in the regular upgrade test. I don't think we have to support it in the RuntimeSDK upgrade test though. The goal of this test is to specifically test RuntimeSDK, there is no need to run in on older Kubernetes versions (and in fact nobody does it).

Goal of dropping the support is to decrease complexitiy and increase maintainability of this test.

Note: This was unblocked by the recent bump, as we now test v1.24=>v1.25.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #6661

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 6, 2022
upgrade test

Signed-off-by: Stefan B眉ringer buringerst@vmware.com
// Random generate later on again when Yuvaraj's PR has split up the cluster lifecycle.
//Name: fmt.Sprintf("%s-%s", specName, util.RandomString(6)),
// Note: We have to use a constant name here as we have to be able to reference it in the ClusterClass
// when configuring external patches.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saw the todo and dropped it. I don't think it's worth the effort to generate the ExtensionConfig name randomly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm - this can still be annoying when running manually as I regularly need to manually delete the ExtensionConfig if the test fails unexpectedly.

Could we delete the ExtensionConfig if it exists inside this test? It's mainly a problem because it's a global object.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to take this as a follow-up

@sbueringer sbueringer changed the title test/e2e: Drop support for Kubernetes < v1.24.0 in the RuntimeSDK upgrade test 馃尡 test/e2e: Drop support for Kubernetes < v1.24.0 in the RuntimeSDK upgrade test Sep 6, 2022
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-full-main

@sbueringer
Copy link
Member Author

/assign @fabriziopandini

Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 14, 2022
@fabriziopandini
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 15, 2022
@k8s-ci-robot k8s-ci-robot merged commit f7c725d into kubernetes-sigs:main Sep 15, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.3 milestone Sep 15, 2022
@sbueringer sbueringer deleted the pr-e2e-test-drop-cgroupfs branch September 15, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants