Skip to content

Commit 0e9a496

Browse files
authored
use latest version of capx in template-tests (#410)
* fix: now using latest toolchanin to remove vulcheck issue * fix: update the version of infra provider
1 parent 714c151 commit 0e9a496

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module github.com/nutanix-cloud-native/cluster-api-provider-nutanix
22

33
go 1.22.1
44

5+
toolchain go1.22.2
6+
57
require (
68
github.com/blang/semver v3.5.1+incompatible
79
github.com/blang/semver/v4 v4.0.0

templates/template_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ func setupTestEnvironment() (client.Client, error) {
8484
}
8585

8686
clusterctllog.SetLogger(textlogger.NewLogger(textlogger.NewConfig()))
87+
// TODO: make this generic so that we dont need to update this every release
8788
clusterctl.Init(context.Background(), clusterctl.InitInput{
8889
KubeconfigPath: tmpKubeconfig.Name(),
89-
InfrastructureProviders: []string{"nutanix:v1.4.0-alpha.1"},
90+
InfrastructureProviders: []string{"nutanix:v1.4.0-alpha.2"},
9091
ClusterctlConfigPath: "testdata/clusterctl-init.yaml",
9192
})
9293

0 commit comments

Comments
 (0)