Skip to main content

Creates and monitors AWS CodeDeploy deployments.

Project description

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.**

Installation

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

Usage

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

License

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.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codedeploy_monitor-0.1.tar.gz (18.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page