From fb8a10904c458c4db4f1317ae39d49bd8dbc76b8 Mon Sep 17 00:00:00 2001 From: CristhianF7 <CristhianF7@gmail.com> Date: Thu, 1 Aug 2024 20:38:01 -0500 Subject: [PATCH] chore: test without provisioning --- cmd/civo/create.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cmd/civo/create.go b/cmd/civo/create.go index c5f4d00ca..bcfbda1f6 100644 --- a/cmd/civo/create.go +++ b/cmd/civo/create.go @@ -12,12 +12,10 @@ import ( "strings" utils "github.com/kubefirst/kubefirst-api/pkg/utils" - "github.com/kubefirst/kubefirst/internal/catalog" "github.com/kubefirst/kubefirst/internal/cluster" "github.com/kubefirst/kubefirst/internal/gitShim" "github.com/kubefirst/kubefirst/internal/launch" "github.com/kubefirst/kubefirst/internal/progress" - "github.com/kubefirst/kubefirst/internal/provision" "github.com/kubefirst/kubefirst/internal/utilities" "github.com/spf13/cobra" "github.com/spf13/viper" @@ -32,10 +30,10 @@ func createCivo(cmd *cobra.Command, args []string) error { progress.DisplayLogHints(15) - isValid, catalogApps, err := catalog.ValidateCatalogApps(cliFlags.InstallCatalogApps) - if !isValid { - return err - } + // isValid, catalogApps, err := catalog.ValidateCatalogApps(cliFlags.InstallCatalogApps) + // if !isValid { + // return err + // } err = ValidateProvidedFlags(cliFlags.GitProvider) if err != nil { @@ -89,7 +87,7 @@ func createCivo(cmd *cobra.Command, args []string) error { progress.Error("unable to start kubefirst api") } - provision.CreateMgmtCluster(gitAuth, cliFlags, catalogApps) + // provision.CreateMgmtCluster(gitAuth, cliFlags, catalogApps) return nil }