Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Add the 'deployment' command into CLI - #325

Merged
noahingh merged 5 commits into
mainfrom
deployment-cli
Feb 5, 2022
Merged

Add the 'deployment' command into CLI#325
noahingh merged 5 commits into
mainfrom
deployment-cli

Conversation

@noahingh

@noahinghnoahingh commented Feb 5, 2022

Copy link
Copy Markdown
Member

List

deployment list
NAME:
gitploy deployment list - Show the deployments under the repository.
USAGE:
gitploy deployment list [command options] <owner>/<repo>
OPTIONS:
--page value The page of list. (default: 1)
--per-page value The item count per page. (default: 30)
--env value The name of the environment. It only shows deployments for the environment.
--status value The deployment status: 'waiting', 'created', 'queued', 'running', 'success', or 'failure'. It only shows deployments the status is matched.
--help, -h show help (default: false)

Get

deployment get
NAME:
gitploy deployment get - Show the deployment
USAGE:
gitploy deployment get [command options] <owner>/<repo> <number>
OPTIONS:
--help, -h show help (default: false)

Deploy

deployment deploy
NAME:
gitploy deployment deploy - Deploy a specific ref(branch, SHA, tag) to the environment.
USAGE:
gitploy deployment deploy [command options] <owner>/<repo>
OPTIONS:
--type value The type of the ref: 'commit', 'branch', or 'tag'.
--env value The name of the environment.
--ref value The specific ref. It can be any named branch, tag, or SHA.
--help, -h show help (default: false)

Update

deployment update
NAME:
gitploy deployment update - Trigger the deployment which has approved by reviews.
USAGE:
gitploy deployment update [command options] <owner>/<repo> <number>
OPTIONS:
--help, -h show help (default: false)

@noahinghnoahingh added enhancement New feature or request component: cli This issue or pull request is related to the features of CLI labels Feb 5, 2022
@noahinghnoahingh added this to the v0.6 milestone Feb 5, 2022
@noahinghnoahingh linked an issue Feb 5, 2022 that may be closed by this pull request
@noahinghnoahingh linked an issue Feb 5, 2022 that may be closed by this pull request
@noahingh
noahingh marked this pull request as ready for review February 5, 2022 07:19
@noahingh
noahingh merged commit aa47b05 into mainFeb 5, 2022
@noahingh
noahingh deleted the deployment-cli branch February 5, 2022 07:20
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component: cliThis issue or pull request is related to the features of CLIenhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide the subcommand to access Deployment by CLI command

1 participant

@noahingh