Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove appconfig commands #3591

Merged
merged 2 commits into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cmd/pipectl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"fmt"
"os"

"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/appconfig"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/application"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/deployment"
"github.com/pipe-cd/pipecd/pkg/app/pipectl/cmd/encrypt"
Expand All @@ -41,7 +40,6 @@ func main() {
planpreview.NewCommand(),
piped.NewCommand(),
encrypt.NewCommand(),
appconfig.NewCommand(),
)

if err := app.Run(); err != nil {
Expand Down
26 changes: 0 additions & 26 deletions docs/content/en/docs-dev/user-guide/command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,32 +241,6 @@ You can encrypt it the same way you do [from the web](/docs/user-guide/secret-ma
--input-file={PATH_TO_SECRET_FILE}
```

### Rename multiple application configuration files

``` console
pipectl app-config rename \
--address={CONTROL_PLANE_API_ADDRESS} \
--api-key={API_KEY} \
--repo-root-path={ABSOLUTE_PATH_TO_ROOT_OF_REPOSITORY} \
--repo-id={REPO_ID} \
--env-name={ENV_NAME} \ # Optional.
--before=.pipe.yaml \
--after=app.pipecd.yaml \
--update-on-local=true \ # Whether to rename files in Git locally.
--update-on-control-plane=false # Whether to update application information on control plane to use the new name.
```

### Migrating deployment configuration files to application configuration files

``` console
pipectl app-config migrate-from-deploy-config \
--address={CONTROL_PLANE_API_ADDRESS} \
--api-key={API_KEY} \
--repo-root-path={ABSOLUTE_PATH_TO_ROOT_OF_REPOSITORY} \
--repo-id={REPO_ID} \
--env-name={ENV_NAME}
```

### You want more?

We always want to add more needed commands into pipectl. Please let us know what command you want to add by creating issues in the [pipe-cd/pipe ](https://github.com/pipe-cd/pipecd/issues) repository. We also welcome your pull request to add the command.
44 changes: 0 additions & 44 deletions pkg/app/pipectl/cmd/appconfig/appconfig.go

This file was deleted.

186 changes: 0 additions & 186 deletions pkg/app/pipectl/cmd/appconfig/migratefromdeployconfig.go

This file was deleted.

Loading