Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CodeBuilder - CLI helper for easy CI on AWS

Build Status Read the docs Version License

CodeBuilder is a CLI tool which allows developpers to use simple commands and helpers inside AWS CI/CD tools like CodePipeline and CodeBuild.

Quick Start

Generally, you would run CodeBuilder on an AWS CodeBuild environment where AWS CLI is properly installed and configured. CodeBuilder uses the exact same authentication method as Boto 3 and AWS CLI.

Install with pip:

$ pip install codebuilder

Example CodeBuild usage (buildspec.yml):

version: 0.1
environment_variables:
  plaintext:
    KMS_CIPHERBLOB: "AQEC..."

phases:
  install:
    commands:
      - pip install codebuilder
  pre_build:
    commands:
      - codebuilder aws ecr login
      - codebuilder aws kms decrypt ${KMS_CIPHERBLOB} > ${CODEBUILD_SRC_DIR}/secret
  build:
    commands:
      - docker build -t 123456789012.dkr.ecr.eu-west-1.amazonaws.com/foo .
  post_build:
    commands:
      - docker push 123456789012.dkr.ecr.eu-west-1.amazonaws.com/foo
      - codebuilder docker --image-name 123456789012.dkr.ecr.eu-west-1.amazonaws.com/foo get-image full --source-json-file config.json --in-place Parameters DockerImage
      - codebuilder aws ecr prune

Metadata

Release files for codebuilder 0.0.1a3

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

Source distribution (sdist)

Source distribution for codebuilder 0.0.1a3
File Size Uploaded Provenance
codebuilder-0.0.1a3.tar.gz 12.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codebuilder 0.0.1a3
File Interpreter ABI Platform
codebuilder-0.0.1a3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.0 kB

Release files / codebuilder-0.0.1a3.tar.gz

Download URL codebuilder-0.0.1a3.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3471c672fd6ee5014e4c2ea114ef0df541248e0682b49307487928c0ad6481ed
BLAKE2b-256 checksum
How to use checksums
248388534da5646f78706fae62dce17793995b2b9840b441ef39e845813039e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / codebuilder-0.0.1a3-py2.py3-none-any.whl

Download URL codebuilder-0.0.1a3-py2.py3-none-any.whl
Size 11.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7b0dda1029469f83d2cf9652a8ef41d5d58e6b4d16cfb479c8983245cdf098a4
BLAKE2b-256 checksum
How to use checksums
42bf52bc838da2026fa8524e789cc250d5f7b17bd5070acb682916217cb2dc7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for codebuilder 0.0.1a3

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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