
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@opsystech/bbrun
Advanced tools
Harel changes
bbrun
is a command line tool to execute Bitbucket Pipelines locally.
Install bbrun
with npm
:
$ npm install -g bbrun
bbrun
can execute any step defined in your bitbucket-pipelines.yml
template:
pipelines:
default:
- step:
name: hello
image: ubuntu2
script:
- echo "hello world!"
Run bbrun
straight from your project path:
$ bbrun hello
running "build" in "atlassian/default-image" image...
hello world!
Check the examples and its tests to learn different use cases.
Usage
$ bbrun <step> <options>
Options
--template (-t), pipeline template, defaults to "bitbucket-pipelines.yml"
--env (-e), define environment variables for execution
--dry-run (-d), performs dry run, printing the docker command
--interactive (-i), starts an interactive bash session in the container
--ignore-folder (-f), adds the folder as an empty volume (useful for forcing pipeline to install packages etc)
--help, prints this very guide
Examples:
Execute all steps in the default pipeline from bitbucket-pipelines.yml
$ bbrun
$ bbrun --template bitbucket-template.yml
$ bbrun --pipeline default
Execute a single step by its name
$ bbrun test
$ bbrun "Integration Tests"
Execute steps from different pipelines
$ bbrun test --pipeline branches:master
Define an environment variable
$ bbrun test --env EDITOR=vim
$ bbrun test --env "EDITOR=vim, USER=root"
bbrun
(thus credentials in the file are ignored).npm install && npm test
To execute the tests under examples (which are not run by CI yet):
npm run test-examples
$ npm install && npm link
FAQs
Run your Bitbucket Pipelines locally
The npm package @opsystech/bbrun receives a total of 11 weekly downloads. As such, @opsystech/bbrun popularity was classified as not popular.
We found that @opsystech/bbrun demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.