Skip to content

Commit

Permalink
[test] test ci
Browse files Browse the repository at this point in the history
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
  • Loading branch information
varshaprasad96 committed Oct 15, 2021
1 parent d1f2fa8 commit a771ec4
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (

hybridcmd "github.com/operator-framework/helm-operator-plugins/internal/cmd/hybrid-operator/run"
"github.com/operator-framework/helm-operator-plugins/internal/version"
pluginv1 "github.com/operator-framework/helm-operator-plugins/pkg/plugins/helm/v1"
pluginv1alpha "github.com/operator-framework/helm-operator-plugins/pkg/plugins/hybrid/v1alpha"
kustomizev1 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/common/kustomize/v1"
golangv3 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/v3"
Expand All @@ -45,10 +44,9 @@ func main() {
cli.WithPlugins(
getHybridPlugin(),
golangv3.Plugin{},
getHelmPlugin(),
),
cli.WithDefaultProjectVersion(config.Version),
cli.WithDefaultPlugins(config.Version, getHybridPlugin(), getHelmPlugin()),
cli.WithDefaultPlugins(config.Version, getHybridPlugin()),
cli.WithExtraCommands(commands...),
)
if err != nil {
Expand All @@ -73,10 +71,10 @@ func getHybridPlugin() plugin.Bundle {
return hybridBundle
}

func getHelmPlugin() plugin.Bundle {
helmBundle, _ := plugin.NewBundle("helm", plugin.Version{Number: 1},
kustomizev1.Plugin{},
pluginv1.Plugin{},
)
return helmBundle
}
// func getHelmPlugin() plugin.Bundle {
// helmBundle, _ := plugin.NewBundle("helm", plugin.Version{Number: 1},
// kustomizev1.Plugin{},
// pluginv1.Plugin{},
// )
// return helmBundle
// }

0 comments on commit a771ec4

Please sign in to comment.