-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,44 @@ | ||
# bblocal | ||
Run Bitbucket pipeline files locally | ||
# Run Bitbucket Pipeline Locally | ||
It can be a slow process when developing a bitbucket-pipeline.xml file. | ||
The intention of this tool is to run a bitbucket-pipeline.xml file locally in order to speed up the development process. | ||
|
||
--- | ||
**WARNING** | ||
|
||
Do not use this tool to generate and build your software that you plan to use in production. | ||
|
||
This project is still a work in progress and still incomplete. | ||
|
||
--- | ||
|
||
## Install | ||
|
||
Install `bblocal` with `npm`: | ||
|
||
```bash | ||
$ npm install -g bblocal | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: bblocal [options] | ||
An application for running bitbucket pipeline files locally. This tool is intended to help debug and create pipeline files. | ||
Options: | ||
-V, --version output the version number | ||
-f, --file <file> bitbucket pipeline file (default: "bitbucket-pipelines.yml") | ||
-p, --pipeline <pipeline> Specify which pipeline to execute (default: "default") | ||
-s, --source <source folder> Specify the source folder (default: "./") | ||
-a, --artifacts <target artifact tar> Location of artifacts tar file (default: "./.bblocal/artifacts.tar") | ||
-c, --cache <cache folder> Folder to store cache for this build (default: "./.bblocal/cache") | ||
-h, --help display help for command | ||
``` | ||
|
||
## Logic | ||
1. Step 1 //TODO | ||
|
||
## Acknowledgements | ||
- Inspiration for this project was take from [this project](https://github.com/mserranom/bbrun) |