Skip to main content

Runner of containers module

Project description

Container Runner

Run Make targets inside Docker containers.

example branch parameter codecov licencia languages commits PyPI - Version

What it does

Container Runner lets you execute a Makefile target inside any Docker image and captures whether it succeeded or failed. You specify the image, the target, and your Bitbucket credentials, and it runs the command in an isolated container.

Before you start

You need:

  • A Bitbucket API token with repository access permissions
  • Your Bitbucket account email

How to use it

container_runner run-container \
  --image islasgeci/hola \
  --target mundo \
  --path ./hola/ \
  --container my_container \
  --token YOUR_API_TOKEN \
  --email YOUR_EMAIL

This runs make mundo inside the islasgeci/hola image, mounting ./hola/ as the working directory. A file named .make_succeeded is created if the target completes successfully, or removed if it fails.

Run with Docker

docker run --volume $PWD:/workdir islasgeci/container_runner:latest \
  container_runner run-container \
    --image islasgeci/hola \
    --target mundo \
    --path ./hola/ \
    --container my_container \
    --token YOUR_TOKEN \
    --email YOUR_EMAIL

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

container_runner-0.2.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

container_runner-0.2.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file container_runner-0.2.0.tar.gz.

File metadata

  • Download URL: container_runner-0.2.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for container_runner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 908e435dbf12be0583c57180aeae072340d17bd2bde30dfe77e0e3512af8ad26
MD5 0a90cc60fa2dd342d14bd4e3fae65ab5
BLAKE2b-256 bce49de1543e97da2ac15a3aeb3cf0c2c7f5b0ec66c13616ab4744fa702ea066

See more details on using hashes here.

File details

Details for the file container_runner-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for container_runner-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad57aa2284aef28f1aff5c110642468540ad3085efe38c663a5445b985959435
MD5 d64ef1c8d6350f24d2c588d73f9ab500
BLAKE2b-256 f793896d04ab9a70f2eed831081783c9a27806b9e70e5a0f2096db0cda6c95ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page