Tools for AWS CodePipeline.
Project description
codepiper
This tool provides some utilities for working with AWS CodePipeline:
watch
- monitor a pipeline for executions and also follow CodeBuild logsrollback
- rollback a stage of a pipeline to a prior execution
Watch
To monitor all active executions for a pipeline:
codepiper watch -p my-pipeline-name
To monitor a pipeline along with logs from CodeBuild:
codepiper watch -p my-pipeline-name -f
To monitor one specific execution for a pipeline:
codepiper watch -p my-pipeline-name -e 20b20f00-f63d-4b05-8921-20a4fc16090e
Rollback
To rollback a pipeline stage to last successful execution:
codepiper rollback -p my-pipeline-name -s Production
To rollback a pipeline stage to a specific commit id:
codepiper rollback -p my-pipeline-name -s Production -c af32c18
To rollback a pipeline stage and watch logs
codepiper rollback -p my-pipeline-name -s Production -f
Installation
pip install git+https://github.com/gaggle-net/codepiper
Limitations
$CODEBUILD_RESOLVED_SOURCE_VERSION
is unavailable since the CodeBuild execution is not initiated via CodePipeline. The workaround for this is to use CodePipeline Variables to pass theCommitId
from source stage as a user defined environment variable to your CodeBuild project.
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 Distribution
Built Distribution
Hashes for codepiper-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6c655fe569792684c54b62613b7aa2198e36adba2632a8d28cb477f89897ce |
|
MD5 | 5694c3cb17b0da0080847546be1aa7fb |
|
BLAKE2b-256 | a2d868a76dca7f90ec3db6d846f48eb4f6c451a1687600f75bb7b126a7e4d2c1 |