cloud-provider-aws icon indicating copy to clipboard operation
cloud-provider-aws copied to clipboard

Add e2e testing of cloud provider via Cluster API Clusterctl framework or Cluster API kubetest2 deployer

Open randomvariable opened this issue 5 years ago • 6 comments

What would you like to be added: Add e2e conformance testing to this repo

Why is this needed: Discussed a while ago about testing requirements for this repo, and had demo'd launching kubetest via Cluster API's clusterctl framework. Inclusion of conformance testing is almost complete (see https://github.com/kubernetes-sigs/cluster-api/pull/3652), and am considering adding a Cluster API deployer to kubetest2 ( https://github.com/kubernetes-sigs/kubetest2/issues/48 ).

This could be used to then set up e2e testing on this repo.

/kind feature

randomvariable avatar Sep 25 '20 17:09 randomvariable

/assign

randomvariable avatar Sep 25 '20 17:09 randomvariable

https://github.com/kubernetes-sigs/cluster-api/pull/3652 is in, and https://github.com/kubernetes-sigs/cluster-api-provider-aws/pull/1991 serves as an example to consume, so can probably start adding similar here.

Will probably naively try spinning up Cluster API AWS cluster with external CPI, pass the kubeconfig to a new goroutine to run the CPI and then run the relevant kubetest bits.

randomvariable avatar Oct 01 '20 10:10 randomvariable

/lifecycle active

randomvariable avatar Oct 14 '20 21:10 randomvariable

Hah, I started playing around with a kubetest2 deployer, but @benmoss is already ahead in https://github.com/kubernetes-sigs/kubetest2/issues/48#issuecomment-708675720

randomvariable avatar Oct 14 '20 22:10 randomvariable

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Jan 12 '21 22:01 fejta-bot

/lifecycle frozen

Will be getting round to this next week,.

randomvariable avatar Jan 13 '21 14:01 randomvariable