-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Move the workload e2e tests to it's own package #46425
Move the workload e2e tests to it's own package #46425
Conversation
Hi @wanghaoran1988. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with 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. I understand the commands that are listed here. |
681c626
to
bce6769
Compare
@kubernetes/sig-apps-pr-reviews |
@k8s-bot ok to test |
Part of #7666 |
ac7e9f3
to
183ebf7
Compare
Alongside with this move we need to create a new workload-specific package where all the utilities will live. Currently we have utilities in two different places: |
@Kargakis Good points, will update tomorrow :) |
@k8s-bot pull-kubernetes-bazel test this |
@Kargakis @ixdy Would you mind tell me why the bazel build failed, and I already run hack/update-bazel.sh . |
@Kargakis I'd prefer move them to test/e2e/framework, so that other components can also use them conveniently like how we do currently, let me know you have any other concerns. |
framework is already bloated; workload-specific utilities should be in their own package. OWNERS files are not valuable when the bot has to pick somebody out of the whole organization. |
@Kargakis I am trying to work as you suggested, but it's hard to split the workloads func from the framework/util.go, there are some basic/common func in framework package that workload related funcs will use, after we split the workload related func to test/utils/workloads, this new package have to depend on the framework package, and some other resource utils under framework package need use the workloads func, this will introduce the cycle import in golang, it's really difficult to split clearly now, so to keep this pr simple, how about address two problems in this pr:
|
@wanghaoran1988 I am ok with moving just the tests if we need to do more work in order to split the workload-specific utilities. |
183ebf7
to
55a6bc9
Compare
@wanghaoran1988 code freeze is lifted, we can merge this as soon as you rebase one more time :) |
025caa5
to
2834fea
Compare
@Kargakis Cool, updated |
/lgtm |
/retest |
2834fea
to
76251ea
Compare
@Kargakis Hoo, all tests passed now |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
2 similar comments
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
7 similar comments
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enisoc, ixdy, kargakis, wanghaoran1988 Associated issue requirement bypassed by: enisoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
Hooray! Thanks a lot @wanghaoran1988 ! |
What this PR does / why we need it:
Move the workload e2e tests to it's own package
Release note: