Skip to main content

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 logs
  • rollback- 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 the CommitId from source stage as a user defined environment variable to your CodeBuild project.

Project details


Download files

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

Source Distribution

codepiper-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

codepiper-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file codepiper-0.1.0.tar.gz.

File metadata

  • Download URL: codepiper-0.1.0.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.4

File hashes

Hashes for codepiper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 85dc2c34dd5f344e775baecad003946be23ae4b2c036022fd4189c4ecb650948
MD5 3c22a9d09ca4755b2628e32f85cc451c
BLAKE2b-256 007aa81e2c66995fdebef82e995c60a3fd4def749e847d53228f1210ecdf20f9

See more details on using hashes here.

File details

Details for the file codepiper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: codepiper-0.1.0-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.4

File hashes

Hashes for codepiper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8161c29c6cb6d856493437ef046c8b8796133ce3c1953e1b7b3304acfca6052
MD5 4126e898b85f479f4bc96e07ec15446d
BLAKE2b-256 7c077d1a29650b914f651ac7de4ecfd1a8d2d7d41b938d78a13c7be9f6fcd7c4

See more details on using hashes here.

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