The Code Deployer creates frameworks and workers for code deployments.
The CD Stage framework and worker allows the building of artifacts.
The CD Deploy framework and worker takes artifacts and deploys them.
The CD Rollback framework and worker rollback broken stages that are deployed.
pip install hq-code-deployer
See Framework and Worker configuration for a complete guide
/etc/herqles/hq-framework/config.d/cdstage.yaml
module: 'hqcodedeployer.framework.stage'
datacenter: 'aws-us-east'
app_type_path: '/etc/herqles/hq-framework/app_types'
build_path: '/build/herqles'
/etc/herqles/hq-worker/confid.d/cdstage.yaml
module: 'hqcodedeployer.worker.stage'
datacenter: 'aws-us-east'
/etc/herqles/hq-framework/config.d/cddeploy.yaml
module: 'hqcodedeployer.framework.deploy'
datacenter: 'aws-us-east'
app_type_path: '/etc/herqles/hq-framework/app_types'
deploy_path: '/pub'
/etc/herqles/hq-worker/confid.d/cddeploy.yaml
module: 'hqcodedeployer.worker.deploy'
datacenter: 'aws-us-east'
environment: 'testing'
apps:
- app1
- app2
- app3
/etc/herqles/hq-framework/config.d/cdrollback.yaml
module: 'hqcodedeployer.framework.rollback'
datacenter: 'aws-us-east'
app_type_path: '/etc/herqles/hq-framework/app_types'
deploy_path: '/pub'
/etc/herqles/hq-worker/confid.d/cdrollback.yaml
module: 'hqcodedeployer.worker.rollback'
datacenter: 'aws-us-east'
environment: 'testing'
apps:
- app1
- app2
- app3
~/.herq/plugins/cdstage.yaml
module: hqcodedeployer.framework.cli.stage
~/.herq/plugins/cddeploy.yaml
module: hqcodedeployer.framework.cli.deploy
~/.herq/plugins/cdrollback.yaml
module: hqcodedeployer.framework.cli.rollback