-
Notifications
You must be signed in to change notification settings - Fork 105
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
feat: add vcluster e2e cluster provider #450
Conversation
Hi @crandles. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
9f6fc49
to
c1c98a4
Compare
@crandles this is awesome and thanks for the contribution. |
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.
This is a great start. I left some comments.
echo.SetEnv("KUBECONFIG", c.hostKubeCfg) | ||
} | ||
|
||
p := echo.RunProc(command) |
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 think @harshanarayana has some util wrapper for running procs that should be considered here.
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.
This looks good to me.
LGTM
/retest |
f0c081b
to
ae7b6fa
Compare
Updated copyright, verify-boilerplate passes locally now. |
/retest |
golangci appears to be passing now for thew new code I've added, though errirng for some existing LOC:
Assuming that won't block this PR. |
@harshanarayana and @cpanato any idea why golangci failing on previously working code ? |
errors were primarily for:
It's possible that I'm using a different toolchain version, but as the warning seemed fair, I've fixed it via cf9cbf2
|
@crandles is this ready to go now ? |
Yes, I believe so |
cf9cbf2
to
72eb7e1
Compare
rebased due to go.mod conflict |
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
@harshanarayana @ShwethaKumbla @cpanato PTAL I think we need a second reviewer. |
I will check by eod tomorrow. |
Seems to fail installing vcluster; can't reproduce. Any tips? I think I'm installing vcluster the same way other tools are (ko|kwok|kind) |
Helm and flux are installed slightly in a different way, https://github.com/kubernetes-sigs/e2e-framework/blob/777cbcd59fbbe572b71dde89c8f7b0b1a5ddc4a7/hack/install-helm.sh test: install-helm install-flux ## Runs golang unit tests
./hack/test-go.sh
But you are right about ko or kwok though |
/retest |
Is there a recommended way to simulate the prow test runner locally? This looks relevant: https://docs.prow.k8s.io/docs/build-test-update/#running-a-prowjob-locally (and this job), I'll try to follow it. Trying this out so far, not quite working yet:
Output
|
found/resolved a couple of issues:
|
/ok-to-test |
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.
thanks
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, crandles, vladimirvivien 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 |
Thanks for the reviews! I will try to rebase next time, and I may follow up with an issue about how to run the pr tests locally. I need to spend more time looking at the pj on kind script. |
addition of vcluster provider; interested to see if the CI fails. vcluster needs a "host" cluster to launch into, so I've followed an existing example where a real cluster or kind cluster are utilized as necessary:
e2e-framework/examples/real_cluster/main_test.go
Line 39 in 9206e6f
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR enables a new
E2EClusterProvider
forvcluster
based clusters.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., Usage docs, etc.: