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
File details
Details for the file codepiper-0.1.1.tar.gz
.
File metadata
- Download URL: codepiper-0.1.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b004a1f9e4ca87f7f560ab965e370f6eeb8bad6d3858fa8446264606e8d11277 |
|
MD5 | 7ed2dccd6818d077c3b9852004fe601d |
|
BLAKE2b-256 | ea51d0ce375826e772a915b9fb8458ae0fea775c1b81b568727398c1248f27ed |
File details
Details for the file codepiper-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: codepiper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb9342892b6de61873e24e564e6f4a761e5df505757b67f51220f6b04c79a67 |
|
MD5 | 95a98eb9e91cc160be53bca305bbf7c4 |
|
BLAKE2b-256 | 0f77f97a0d4d04965e5db8d40daf8088822fb6be244ef509f7276f53a26749c7 |