Skip to content

Commit f3eebb2

Browse files
authored
chore: removed dependency on argocd-autopilot (#757)
## What removed dependencies: * github.com/argoproj-labs/argocd-autopilot * github.com/argoproj/argo-events * github.com/argoproj/argo-workflows/v3 * github.com/briandowns/spinner * github.com/go-git/go-billy/v5 * github.com/go-git/go-git/v5 * github.com/kubewarden/k8s-objects * github.com/openshift/api * github.com/projectcontour/contour * github.com/rkrmr33/checklist * golang.org/x/text updated dependencies: * github.com/codefresh-io/go-sdk v1.3.1 => v1.4.0 * github.com/fatih/color v1.16.0 => v1.18.0 * helm.sh/helm/v3 v3.14.2 => v3.16.4 * k8s.io/* v0.31.0 => 0.31.3 replaced github.com/ghodss/yaml with sigs.k8s.io/yaml ## Why no need to commit any files to any git repository anymore, all operations are actually done in app-proxy. ## Notes <!-- Add any additional notes here -->
1 parent 9420386 commit f3eebb2

File tree

104 files changed

+1192
-12182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+1192
-12182
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.71
1+
VERSION=v0.2.0
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/assets/workflows-route-patch.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

cmd/commands/cluster.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ import (
2323
"strings"
2424
"time"
2525

26-
"github.com/codefresh-io/cli-v2/pkg/log"
27-
"github.com/codefresh-io/cli-v2/pkg/store"
28-
"github.com/codefresh-io/cli-v2/pkg/util"
29-
kubeutil "github.com/codefresh-io/cli-v2/pkg/util/kube"
30-
kustutil "github.com/codefresh-io/cli-v2/pkg/util/kust"
26+
"github.com/codefresh-io/cli-v2/internal/kube"
27+
"github.com/codefresh-io/cli-v2/internal/log"
28+
"github.com/codefresh-io/cli-v2/internal/store"
29+
"github.com/codefresh-io/cli-v2/internal/util"
30+
kubeutil "github.com/codefresh-io/cli-v2/internal/util/kube"
31+
kustutil "github.com/codefresh-io/cli-v2/internal/util/kust"
3132

3233
"github.com/Masterminds/semver/v3"
33-
apkube "github.com/argoproj-labs/argocd-autopilot/pkg/kube"
3434
platmodel "github.com/codefresh-io/go-sdk/pkg/model/platform"
35-
"github.com/ghodss/yaml"
3635
"github.com/juju/ansiterm"
3736
"github.com/spf13/cobra"
3837
kusttypes "sigs.k8s.io/kustomize/api/types"
3938
"sigs.k8s.io/kustomize/kyaml/resid"
39+
"sigs.k8s.io/yaml"
4040
)
4141

4242
type (
@@ -51,7 +51,7 @@ type (
5151
tag string
5252
dryRun bool
5353
skipTLSValidation bool
54-
kubeFactory apkube.Factory
54+
kubeFactory kube.Factory
5555
}
5656

5757
ClusterRemoveOptions struct {
@@ -86,7 +86,7 @@ var (
8686
}
8787
)
8888

89-
func NewClusterCommand() *cobra.Command {
89+
func newClusterCommand() *cobra.Command {
9090
cmd := &cobra.Command{
9191
Use: "cluster",
9292
Short: "Manage clusters of Codefresh runtimes",
@@ -147,7 +147,7 @@ func newClusterAddCommand() *cobra.Command {
147147
cmd.Flags().StringVar(&opts.tag, "tag", "", "[dev only] - use a specific tag of the csdp-add-cluster image")
148148

149149
util.Die(cmd.Flags().MarkHidden("tag"))
150-
opts.kubeFactory = apkube.AddFlags(cmd.Flags())
150+
opts.kubeFactory = kube.AddFlags(cmd.Flags())
151151

152152
return cmd
153153
}

0 commit comments

Comments
 (0)