kubernetes-sigs/cluster-api-provider-vsphere

Move e2e test setup from Bash to go

Open

#2,044 创建于 2023年7月20日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)Go (320 fork)auto 404
help wantedkind/feature

仓库指标

Star
 (417 star)
PR 合并指标
 (PR 指标待抓取)

描述

/kind feature

Describe the solution you'd like

hack/e2e.sh includes a bunch of Node IPAM setup code that would better be served being added to a ginkgo SynchronizedBeforeSuite setup for better debuggability.

CAPA has good examples of using this method to pass data to test suites in https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/test/e2e/suites/conformance/conformance_suite_test.go#L45C7-L49 and https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/test/e2e/shared/suite.go#L209-L269

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api-provider-vsphere version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

贡献者指南