All Projects → mserranom → Bbrun

mserranom / Bbrun

Licence: mit
Run Bitbucket Pipelines locally

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bbrun

badwolf
Docker based continuous integration, continuous deployment and code lint review system for BitBucket
Stars: ✭ 88 (-30.71%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment, bitbucket
Agola
Agola: CI/CD Redefined
Stars: ✭ 783 (+516.54%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Pipelines
Build pipelines for automation, deployment, testing...
Stars: ✭ 105 (-17.32%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Git Push Deploy
Simple Automated CI/CD Pipeline for GitHub and GitLab Projects
Stars: ✭ 21 (-83.46%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Github Slug Action
GitHub Action to expose slug value of GitHub environment variables inside your GitHub workflow
Stars: ✭ 96 (-24.41%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Dyn365 Ce Vsts Tasks
VSTS Extension for Dynamics 365 Customer Engagement
Stars: ✭ 94 (-25.98%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Lightning Sites
☁️ Lightning deployment for your ~/Sites folders
Stars: ✭ 8 (-93.7%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Bzppx Codepub
暴走皮皮虾之代码发布系统,是现代的持续集成发布系统,由后台管理系统和agent两部分组成,一个运行着的agent就是一个节点,本系统并不是造轮子,是"鸟枪"到"大炮"的创新,对"前朝遗老"的革命.
Stars: ✭ 471 (+270.87%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Origin
Conformance test suite for OpenShift
Stars: ✭ 8,046 (+6235.43%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Buddy Cli
CLI tool for Buddy Cloud
Stars: ✭ 69 (-45.67%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Dyn365 Ce Devops
DevOps for Dynamics 365 Customer Engagement (CE) is becoming a popular topic. The goal of this project is to help Dynamics 365 CE solution builders understand and accelerate their implementation of DevOps practices with Dynamics CE and VSTS.
Stars: ✭ 82 (-35.43%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Gocd
Main repository for GoCD - Continuous Delivery server
Stars: ✭ 6,314 (+4871.65%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Abstruse
Abstruse is a free and open-source CI/CD platform that tests your models and code.
Stars: ✭ 704 (+454.33%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Orkestra
Functional DevOps with Scala and Kubernetes
Stars: ✭ 102 (-19.69%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Agent
The Buildkite Agent is an open-source toolkit written in Golang for securely running build jobs on any device or network
Stars: ✭ 534 (+320.47%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Haiku
🚀 Instant Heroku deploys from GitHub branches
Stars: ✭ 17 (-86.61%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (-30.71%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Circleci Images
Scripts to generate images for building projects on CircleCI 2.0
Stars: ✭ 397 (+212.6%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Devops Readme.md
What to Read to Learn More About DevOps
Stars: ✭ 398 (+213.39%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment
Piplin
📤 An open source self-hosted continuous integration and deployment system - QQ群: 656868
Stars: ✭ 1,044 (+722.05%)
Mutual labels:  continuous-integration, continuous-delivery, continuous-deployment

Bitbucket Pipelines Runner

bbrun is a command line tool to execute Bitbucket Pipelines locally.

Build Statusnpm version

Install

Install bbrun with npm:

$ npm install -g bbrun

Usage

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.

Options

  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"

Caveats

  • Not all Bitbucket features are covered, check open issues for an overview of the roadmap.
  • Private images are supported, but the user has to login in the Docker Registry before executing bbrun (thus credentials in the file are ignored).

Build and Test

npm install && npm test

To execute the tests under examples (which are not run by CI yet):

npm run test-examples

Install locally

$ npm install && npm link
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].