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.6.tar.gz
.
File metadata
- Download URL: bitbucket_pipeline_runner-0.4.6.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aabfefd52cba279ae3942bff6d03552f8a41052c0097314ecd16f9e1d744157 |
|
MD5 | f9e063bdcad85c81f8ea418d8ea7b403 |
|
BLAKE2b-256 | 7281e6ab0e4f233ecf77e7474161872ab37c3ae43d03202c76a22d2574f6b7b3 |
File details
Details for the file bitbucket_pipeline_runner-0.4.6-py3-none-any.whl
.
File metadata
- Download URL: bitbucket_pipeline_runner-0.4.6-py3-none-any.whl
- Upload date:
- Size: 33.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5660cb9d776a0d94a2338b24a5c51d03f6750283eb1b023127ed610027bfab5 |
|
MD5 | 083e796efbc7b52f2561a4c5a5e59f70 |
|
BLAKE2b-256 | 3745705e01ff79ea6b0ddb997090ef118e7620c80af6ed4ccf92a80def8174cd |