No project description provided
Project description
dh
DeployHub's CLI using the dhapi module.
Arguments:
ACTION - one of the following
-
deploy
- deploy the application to the evironment- Usage:
--dhurl --dhuser --dhpass --appname --appversion (optional) --deployenv
- Usage:
-
approve
- approve the application version- Usage:
--dhurl --dhuser --dhpass --appname --appversion (optional)
- Usage:
-
move
- move the application version using the supplied task- Usage:
--dhurl --dhuser --dhpass --appname --appversion (optional) --from_domain --task
- Usage:
-
updatecomp
- create/replace the component version for the application verion-
Usage:
--dhurl --dhuser --dhpass --compname --compvariant (optional) --compversion (optional) --appname (optional) --appversion (optional) --autoappinc (optional) --compattr
-
Predefined Key/Values:
- BuildUrl: url for the CI job
- BuildId: Identifier for the CI job
- BuildNumber: Build number for the CI job
- Chart: Helm Chart for the component
- ChartNamespace: Name space for the component to be deployed to
- ChartVersion: Helm Chart version
- DockerBuildDate: Timestamp when the image was created
- DockerRepo: Repository which the image was pushed to
- DockerSha: Digest for the image
- DockerTag: Tag for the image
- GitCommit: Git commit that triggered the CI job
- GitRepo: Git repo that triggered the CI job
- GitTag: Git tag in the git repo
- GitUrl: Full url to the git repo
- operator: Operator name
-
-
assign
- assigns a component version to an application verion- Usage:
--dhurl --dhuser --dhpass --compname --compvariant (optional) --compversion (optional) --appname --appversion (optional)
- Usage:
-
kv
- assigns the key/values pairs to the component verion- Usage:
--dhurl --dhuser --dhpass --compname --compvariant (optional) --compversion (optional) --kvconfig
- Usage:
-
envscript
- creates a bash file from the component toml file- Usage:
--envvars --envvars_sh
- Usage:
-
export
- exports a domain including all objects to stdout- Usage:
--dhurl --dhuser --dhpass --from_dom
- Usage:
-
import
- imports the export file into the new domain- Usage:
--dhurl --dhuser --dhpass --from_dom --to_dom
Parameter Descriptions:
--dhurl
- DeployHub Url--dhuser
- DeployHub User--dhpass
- DeployHub Password--appname
- Application Name--appversion
- Application Version--appautoinc
- Application Auto Increment Version--deployenv
- Deployment Environment--compname
- Component Name--compvariant
- Component Variant--compversion
- Component Version--compautoinc
- Component Auto Increment Version--kvconfig
- Directory containing the json and properties file--crdatasource
- Change Request Data Source for the Component--changerequest
- Change Request for Component, use multiple time for each Change Request Id--deploydata
- The json file that contains the application, environment and log details--from_domain
- Move from domain--task
- Task to use for move--envvars
- Env Variables TOML file--envvars_sh
- Env Variables Output sh file--docker
- docker Kind of the component item--file
- file Kind of the component item--compattr
- Component Attributes, use multiple time for each attr--envs
- Environments to Associate App to, use multiple time for each env--importfile
- File to Import--fromdom
- From Domain--todom
- To Domain
- Usage:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for deployhub-9.3.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270824fcc355730c7902b2662c651278f18dfda595d38bf6655b9310a597cf98 |
|
MD5 | 02ea19eef4818959f23d7adbc55d0a73 |
|
BLAKE2b-256 | 2a202ff1fba257f9e3c3c9fafa81fe13dcdaff969d29fff7d21176b93e9521ef |