-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
372 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# kusion project list | ||
|
||
List the applied projects | ||
|
||
### Synopsis | ||
|
||
This command lists all the applied projects in the target backend and target workspace. | ||
|
||
By default list the projects in the current backend and current workspace. | ||
|
||
``` | ||
kusion project list | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# List the applied project in the current backend and current workspace | ||
kusion project list | ||
# List the applied project in a specified backend and current workspace | ||
kusion project list --backend default | ||
# List the applied project in a specified backend and specified workspaces | ||
kusion project list --backend default --workspace dev,default | ||
# List the applied project in a specified backend and all the workspaces | ||
kusion project list --backend default --all | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-a, --all List all the projects in all the workspaces | ||
--backend string The backend to use, supports 'local', 'oss' and 's3' | ||
-h, --help help for list | ||
--workspace strings The name of the target workspace | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none") | ||
--profile-output string Name of the file to write the profile to (default "profile.pprof") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kusion project](kusion-project.md) - Project is a folder that contains a project.yaml file and is linked to a Git repository | ||
|
||
###### Auto generated by spf13/cobra on 26-Sep-2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# kusion release list | ||
|
||
List all releases of the current stack | ||
|
||
### Synopsis | ||
|
||
List all releases of the current stack. | ||
|
||
This command displays information about all releases of the current stack in the current or a specified workspace, including their revision, phase, and creation time. | ||
|
||
``` | ||
kusion release list [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# List all releases of the current stack in current workspace | ||
kusion release list | ||
# List all releases of the current stack in a specified workspace | ||
kusion release list --workspace=dev | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--backend string The backend to use, supports 'local', 'oss' and 's3'. | ||
-h, --help help for list | ||
-w, --workdir string The work directory to run Kusion CLI. | ||
--workspace string The name of target workspace to operate in. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none") | ||
--profile-output string Name of the file to write the profile to (default "profile.pprof") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kusion release](kusion-release.md) - Manage Kusion release files | ||
|
||
###### Auto generated by spf13/cobra on 26-Sep-2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# kusion release show | ||
|
||
Show details of a release of the current or specified stack | ||
|
||
### Synopsis | ||
|
||
Show details of a release of the current or specified stack. | ||
|
||
This command displays detailed information about a release of the current project in the current or a specified workspace | ||
|
||
``` | ||
kusion release show [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Show details of the latest release of the current project in the current workspace | ||
kusion release show | ||
# Show details of a specific release of the current project in the current workspace | ||
kusion release show --revision=1 | ||
# Show details of a specific release of the specified project in the specified workspace | ||
kusion release show --revision=1 --project=hoangndst --workspace=dev | ||
# Show details of the latest release with specified backend | ||
kusion release show --backend=local | ||
# Show details of the latest release with specified output format | ||
kusion release show --output=json | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--backend string The backend to use, supports 'local', 'oss' and 's3' | ||
-h, --help help for show | ||
-o, --output string Specify the output format | ||
--project string The project name | ||
--revision uint The revision number of the release | ||
--workspace string The workspace name | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none") | ||
--profile-output string Name of the file to write the profile to (default "profile.pprof") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kusion release](kusion-release.md) - Manage Kusion release files | ||
|
||
###### Auto generated by spf13/cobra on 26-Sep-2024 |
47 changes: 47 additions & 0 deletions
47
docs/kusion/6-reference/1-commands/kusion-release-unlock.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# kusion release unlock | ||
|
||
Unlock the latest release file of the current stack | ||
|
||
### Synopsis | ||
|
||
Unlock the latest release file of the current stack. | ||
|
||
The phase of the latest release file of the current stack in the current or a specified workspace will be set to 'failed' if it was in the stages of 'generating', 'previewing', 'applying' or 'destroying'. | ||
|
||
Please note that using the 'kusion release unlock' command may cause unexpected concurrent read-write issues with release files, so please use it with caution. | ||
|
||
``` | ||
kusion release unlock [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Unlock the latest release file of the current stack in the current workspace. | ||
kusion release unlock | ||
# Unlock the latest release file of the current stack in a specified workspace. | ||
kusion release unlock --workspace=dev | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--backend string The backend to use, supports 'local', 'oss' and 's3'. | ||
-h, --help help for unlock | ||
-w, --workdir string The work directory to run Kusion CLI. | ||
--workspace string The name of target workspace to operate in. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--profile string Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none") | ||
--profile-output string Name of the file to write the profile to (default "profile.pprof") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kusion release](kusion-release.md) - Manage Kusion release files | ||
|
||
###### Auto generated by spf13/cobra on 26-Sep-2024 |
Oops, something went wrong.