CLI for Atlassian Bamboo
Project description
pampu
CLI for Atlassian Bamboo.
Installation
pip install pampu
Or with uv:
uv tool install pampu
Setup
pampu init
This will prompt for your Bamboo URL and Personal Access Token, then save them to ~/.config/pampu/credentials.toml.
Getting a Personal Access Token
- Go to your Bamboo instance
- Click your avatar (top-right) → Profile
- Select "Personal access tokens" tab
- Click "Create token"
Usage
List projects and plans
pampu projects # List all projects
pampu plans MYPROJECT # List plans in a project
pampu branches MYPROJECT-BUILD # List branches for a plan
View builds
pampu builds MYPROJECT-BUILD # List recent builds
pampu builds MYPROJECT-BUILD -n 20 # Show more builds
pampu status MYPROJECT-BUILD-123 # Show build details
pampu logs MYPROJECT-BUILD-123 # Download and display build logs
Git-aware status
When inside a git repository with a .pampu.toml config file, pampu status can automatically detect the current branch:
pampu status # Shows status for current git branch
Deployments
pampu deploys # Show deployment status (uses .pampu.toml)
pampu deploys MYPROJECT-BUILD # Show deployment status for a plan
pampu versions # List available versions
pampu version-create # Create version from latest build on current branch
pampu version-create MYPROJECT-BUILD-123 # Create version from specific build
pampu deploy myversion DEV # Deploy a version to an environment
pampu deploy myversion ENV1 ENV2 --chain # Deploy sequentially, wait for each
pampu deploy myversion ENV1 ENV2 --parallel # Deploy to all simultaneously
For safety reasons, pampu deploy refuses to deploy to any environment containing "PROD" in its name.
Project configuration
Create a .pampu.toml in your repository root to enable git-aware commands:
plan = "MYPROJECT-BUILD"
project = "MYPROJECT"
With this config:
pampu statusdetects your git branch and shows the matching Bamboo buildpampu deploysshows deployment status without specifying a planpampu version-createcreates a version from the latest build on your current branch
Branch detection extracts ticket numbers (e.g., PROJ-12345) from branch names like feature/PROJ-12345-my-feature and matches them to Bamboo branches.
Commands
| Command | Description |
|---|---|
init |
Initialize credentials |
projects |
List all projects |
plans <project> |
List plans in a project |
branches <plan> |
List branches for a plan |
builds <plan> |
List builds for a plan or branch |
status [build] |
Show detailed build status |
logs <build> |
Download and display build logs |
deploys [plan] |
Show deployment status |
versions [plan] |
List available versions |
version-create [build] |
Create a version from a build |
deploy <version> <env>... |
Deploy a version to one or more environments |
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pampu-0.2.0.tar.gz.
File metadata
- Download URL: pampu-0.2.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbf2f0bbf78ff8535df0bda9cb476fff2fbcfb9e2c0d4781a7c714974d10b81a
|
|
| MD5 |
8b42719dd98adf28b086a1edca60ddbb
|
|
| BLAKE2b-256 |
302a586de12b54da7a8c81bd6fdef08841b46088fbc218a6adc19756adc5e98e
|
Provenance
The following attestation bundles were made for pampu-0.2.0.tar.gz:
Publisher:
publish.yml on vivainio/pampu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pampu-0.2.0.tar.gz -
Subject digest:
fbf2f0bbf78ff8535df0bda9cb476fff2fbcfb9e2c0d4781a7c714974d10b81a - Sigstore transparency entry: 868703894
- Sigstore integration time:
-
Permalink:
vivainio/pampu@c3d2f9fe266ff9c32c3501f6e555cecea36039c0 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/vivainio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3d2f9fe266ff9c32c3501f6e555cecea36039c0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pampu-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pampu-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
367340961cf4f2eb0977c8867519b2e2ea7b58829f79290ae426f3c450395be5
|
|
| MD5 |
c69b5a4b4adcedeb5d70259996a8dfe3
|
|
| BLAKE2b-256 |
e9842acde8fd0e64eddb8961ac1d2f0b95ef615b42922628575df17e79971a07
|
Provenance
The following attestation bundles were made for pampu-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on vivainio/pampu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pampu-0.2.0-py3-none-any.whl -
Subject digest:
367340961cf4f2eb0977c8867519b2e2ea7b58829f79290ae426f3c450395be5 - Sigstore transparency entry: 868703900
- Sigstore integration time:
-
Permalink:
vivainio/pampu@c3d2f9fe266ff9c32c3501f6e555cecea36039c0 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/vivainio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3d2f9fe266ff9c32c3501f6e555cecea36039c0 -
Trigger Event:
release
-
Statement type: