Skip to content

fix: Remove GitOps Run CLI commands#4111

Merged
yiannistri merged 2 commits intomainfrom
remove-gitops-run-cli
Oct 31, 2023
Merged

fix: Remove GitOps Run CLI commands#4111
yiannistri merged 2 commits intomainfrom
remove-gitops-run-cli

Conversation

@yiannistri
Copy link
Copy Markdown
Contributor

Part of #weaveworks/weave-gitops-enterprise#3514

What changed?
Updated the gitops CLI to remove GitOps Run commands.

Why was this change made?
Because we are deprecating this feature.

How was this change implemented?
By deleting the Go files that included GitOps Run-related commands.

How did you validate the change?

make
./bin/gitops --help 

Release notes
TBD

Documentation Changes
We have updated docs already.

@yiannistri yiannistri force-pushed the remove-gitops-run-cli branch from d83194b to 07d7673 Compare October 31, 2023 14:27
Comment thread cmd/gitops/root/cmd.go
Comment on lines +20 to +23
"github.com/weaveworks/weave-gitops/cmd/gitops/replan"
"github.com/weaveworks/weave-gitops/cmd/gitops/resume"
"github.com/weaveworks/weave-gitops/cmd/gitops/set"
"github.com/weaveworks/weave-gitops/cmd/gitops/suspend"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to keep these still? As I see it removes only beta, remove, and run.

If we want to keep replan, resume, suspend, etc, do we want to delete remove?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for deleting remove is because the only command there was used to remove GitOps Run sessions. replan, resume and suspend commands are interacting with Terraform resources which is why I kept them.

@yiannistri yiannistri enabled auto-merge (rebase) October 31, 2023 15:28
@yiannistri yiannistri merged commit 66aecca into main Oct 31, 2023
@yiannistri yiannistri deleted the remove-gitops-run-cli branch October 31, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants