-
Notifications
You must be signed in to change notification settings - Fork 159
build kubectl for test kube directory #352
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
build kubectl for test kube directory #352
Conversation
/assign @davidz627 |
test/k8s-integration/main.go
Outdated
@@ -212,7 +212,7 @@ func handle() error { | |||
if err != nil { | |||
return fmt.Errorf("failed to download Kubernetes source: %v", err) | |||
} | |||
err = buildKubernetes(testDir, "WHAT=test/e2e/e2e.test") | |||
err = buildKubernetes(testDir, "quick-release") |
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.
can you add a "TODO" to parallelize these builds since they'll take a long time now
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.
Thinking about this, it may not make sense to parallelize k8s builds because each quick-release is already parallelized you can check htop to confirm). You might save some time on the go builds for certain components that are not, but then suffer from the context switching.
This is also why my desktop was dying earlier - I was parallelizing two builds.
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.
I changed the PR so it builds kubectl specificlly (I figured out how). Currently testing to see if this solves it.
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.
ping me when ready for review
236516e
to
85cfcf3
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hantaowang The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
85cfcf3
to
d3e1d43
Compare
/hold |
d3e1d43
to
5732407
Compare
5732407
to
5120d31
Compare
@hantaowang: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
/close |
@hantaowang: Closed this PR. In 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 type of PR is this?
/kind failing-test
What this PR does / why we need it:
Builds k8s testing src with make quick release so that kubetest has access to the kubectl built.
Does this PR introduce a user-facing change?: