Skip to content

Commit

Permalink
Add a QuickStart e2e with cluster class (#371)
Browse files Browse the repository at this point in the history
* removed enable-hostpath-provisioner entry

reason: it was carry forward from docker provider and is not needed for
nutanix provider kcp and kcpt

* reverted changed for older version yamls in tests to keep version parity

* added quickstart test for clusterclass flavor

* fixed the label
  • Loading branch information
deepakm-ntnx authored Jan 26, 2024
1 parent 8c8d118 commit cca8316
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions test/e2e/capx_quick_start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package e2e

import (
. "github.com/onsi/ginkgo/v2"
"k8s.io/utils/pointer"
capi_e2e "sigs.k8s.io/cluster-api/test/e2e"
)

Expand All @@ -35,18 +36,18 @@ var _ = Describe("When following the Cluster API quick-start", Label("quickstart
})
})

// var _ = Describe("When following the Cluster API quick-start with ClusterClass [PR-Informing]", func() {
// QuickStartSpec(ctx, func() QuickStartSpecInput {
// return QuickStartSpecInput{
// E2EConfig: e2eConfig,
// ClusterctlConfigPath: clusterctlConfigPath,
// BootstrapClusterProxy: bootstrapClusterProxy,
// ArtifactFolder: artifactFolder,
// SkipCleanup: skipCleanup,
// Flavor: pointer.String("topology"),
// }
// })
// })
var _ = Describe("When following the Cluster API quick-start with ClusterClass", Label("quickstart", "capx-feature-test"), func() {
capi_e2e.QuickStartSpec(ctx, func() capi_e2e.QuickStartSpecInput {
return capi_e2e.QuickStartSpecInput{
E2EConfig: e2eConfig,
ClusterctlConfigPath: clusterctlConfigPath,
BootstrapClusterProxy: bootstrapClusterProxy,
ArtifactFolder: artifactFolder,
SkipCleanup: skipCleanup,
Flavor: pointer.String("topology"),
}
})
})

// // NOTE: This test requires an IPv6 management cluster (can be configured via IP_FAMILY=IPv6).
// var _ = Describe("When following the Cluster API quick-start with IPv6 [IPv6] [PR-Informing]", func() {
Expand Down

0 comments on commit cca8316

Please sign in to comment.