-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allow Kind tests to mount ~/.m2/
#1495
Conversation
It does. But it is not any faster than trunk, because each Lines 18 to 28 in 62116ec
kind create cluster will not work). That could be extracted to a helper script.
Not sure how to address that without maintaining two copies of at least kubernetes-plugin/test-in-k8s.yaml Lines 6 to 32 in 62116ec
kubernetes-plugin/.github/renovate.json Lines 29 to 33 in 62116ec
yq hacks?
@Vlatombe WDYT—is this worth polishing up? |
@@ -1034,7 +1052,7 @@ system property to the (host-only or NAT) IP of your host: | |||
|
|||
mvn clean install -Djenkins.host.address=192.168.99.1 | |||
|
|||
### Integration Tests with Microk8s | |||
### Integration tests with Microk8s |
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.
Do we want to keep Microk8s? Nowadays I only use kind.
|
Could not reproduce the test failure locally even without using the new M2 mounting stuff (which CI does not now use). Can see if #1550 (comment) helps… |
I have not had success using the various profiles and
connectorHost
/jenkins.host.address
with Kind. Running tests inside the cluster is more robust. Unfortunately it is also slow to start up, due to the need to download lots of stuff to a volume, and you cannot share local snapshots. The system in this PR (docs) seems to work much better to test e.g. #1494 usingto check things like
Holding in the draft for the moment not just because I am unsure whether this will actually work on a CI machine, but also because it would be nice to retain the ability to use
test-in-k8s.sh
with non-Kind clusters.