Creates and monitors AWS CodeDeploy deployments.
CodeDeployMonitor is a little tool that can create new deployments for AWS CodeDeploy, and monitor them for successful completion. It also has a monitor-only mode, in case you create deployments via another tool (aws-cli, for example).
CodeDeployMonitor use the boto3 library.
** This program is currently in pre-alpha state, so be aware of bugs.**
CodeDeployMonitor can easily be installed with pip:
# Make sure we have an up-to-date version of pip and setuptools: $ pip install --upgrade pip setuptools $ pip install codedeploy-monitor
CodeDeployMonitor tries to mimic the aws-cli command-line parameters as close as possible. Both deployments from S3 and GitHub are supported.
To create and monitor a new deployment:
$ codedeploy_monitor create-deployment --application-name my-app --deployment-group my-group --s3-location bucket=my-bucket,key=releases/myapp.tgz,bundleType=tgz
To monitor an existing deployment:
$ codedeploy_monitor monitor-deployment d-xxxxxxxxx
Use the following commands to see a list of all command-line options:
$ codedeploy_monitor create-deployment --help
$ codedeploy_monitor monitor-deployment --help
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.