Skip to main content

CODEBUILD CI

Code Build Pipelines run Asynchronously and there is no provision to wait for them in bitbucket pipelines/ github actions to complete. This project will wait for Codebuild pipeline to complete and log all the log events as well. This handles any abrupt pipeline stops.

How to use


pip install codebuild-ci
python -m codebuild --project project --log-group <aws log group>

Checking for other options:

python -m codebuild --help

Integrate with Bitbucket Pipeline

- script:
    - python -m pip install codebuild-ci
    - python -m codebuild-ci --project project --log-group <aws log group>

contributing to code


You can Fork the repo and raise a PR for the active development.

Tips for testing


Stubbing Code

from botocore.stub import Stubber
# stub code
stubber = Stubber(client)
stubber.add_response('start_build', {
    'build': {
        'id': 'foo-project:foo-id'
    }
})
stubber.add_response('batch_get_builds', {
    'builds': [{
        'id': 'foo-project:foo-id',
        'buildStatus': 'SUCCEEDED'
    }]
})
stubber.activate()

Metadata

Release files for codebuild-ci 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codebuild-ci 0.2.0
File Size Uploaded Provenance
codebuild_ci-0.2.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codebuild-ci 0.2.0
File Interpreter ABI Platform
codebuild_ci-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / codebuild_ci-0.2.0.tar.gz

Download URL codebuild_ci-0.2.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f60873edea132b40c2917c86e35b3b4b878526fb021ed9356041db346ca495f0
BLAKE2b-256 checksum
How to use checksums
b8aacccd1395f8647dda6c1059ab457e57b6c10a40c288d84ce2508842f3d7e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.1 Darwin/22.3.0

Release files / codebuild_ci-0.2.0-py3-none-any.whl

Download URL codebuild_ci-0.2.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ff84f6203750e36df9302d45228a7436a739a1b1b1033ea15fae61e08e4fc88
BLAKE2b-256 checksum
How to use checksums
8de5666501479fec2e180f6b7ba2e60f379dcf710c067d9a6fc5878897c618ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.1 Darwin/22.3.0

Security for codebuild-ci 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page