Run a bitbucket pipeline locally
Project description
Bitbucket Pipeline Runner
Tool to run Bitbucket Pipelines locally.
Installation
pip install bitbucket-pipeline-runner
Basic usage
To run a pipeline
cd <project-directory>
pipeline-runner run <pipeline-name>
To list available pipelines
cd <project-directory>
pipeline-runner list
Environment variables
bitbucket pipeline runner already sets all BITBUCKET_*
enviromnent variables in the step's run enviromnent.
It will also source any .env
file in the current directory, for all project specific enviromnent variables.
Artifacts and logs
Persistent data like artifacts generated from your pipelines and execution logs can be found in your user's data directory.
On Linux:
${XDG_DATA_HOME:-~/.local/share}/pipeline-runner
On macOS:
~/Library/Application Support/pipeline-runner
Caches
Caches defined in your pipelines are stored in your user's cache directory.
On Linux:
${XDG_CACHE_HOME:-~/.cache}/pipeline-runner
On macOS:
~/Library/Caches/pipeline-runner
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 bitbucket_pipeline_runner-0.4.5.tar.gz
.
File metadata
- Download URL: bitbucket_pipeline_runner-0.4.5.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32428dfdc93e05b524d2aba10678cf2c8ef21d6b52fa699dc231fae7a7308f5 |
|
MD5 | 596e0cfff4388b536bba51c39cf3c3c1 |
|
BLAKE2b-256 | e112236b012e74b54e8ce6667be32370470fde31f8c6713f45da2a90b32ae38e |
File details
Details for the file bitbucket_pipeline_runner-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: bitbucket_pipeline_runner-0.4.5-py3-none-any.whl
- Upload date:
- Size: 33.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982cc6b1b32322c76970634628a85dc7242c0fd7c75b2ab832a55aca997c79a2 |
|
MD5 | 04039c4904810910154b2500c0d8c48c |
|
BLAKE2b-256 | f63a2db40da3231781a106523508f0d2f34bd237752dc97cbe9006f0b22e9658 |