https://github.com/missingroberto/boom
Quick edition of Bosh manifest
https://github.com/missingroberto/boom
bootstrap cli cloudfoundry operations tool
Last synced: 13 days ago
JSON representation
Quick edition of Bosh manifest
- Host: GitHub
- URL: https://github.com/missingroberto/boom
- Owner: MissingRoberto
- Created: 2017-02-03T22:56:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-22T19:50:01.000Z (almost 8 years ago)
- Last Synced: 2024-12-15T19:47:47.539Z (2 months ago)
- Topics: bootstrap, cli, cloudfoundry, operations, tool
- Language: Go
- Homepage:
- Size: 2.54 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boom
Boom is a tool for manipulating bosh manifests. This tool targets not only to help with the quick manifest modification, but also to with the maintenance of Bosh configuration.
## Installation
* Mac OS
You can install it using brew:
```
brew tap jszroberto/cf
brew install boom
```
or without brew as follows:```
$ wget https://github.com/jszroberto/boom/releases/download/0.1/boom ; chmod +x boom; mv boom /usr/local/bin
```* Linux:
```
$ wget https://github.com/jszroberto/boom/releases/download/0.1/boom-linux ; chmod +x boom-linux; mv boom-linux /usr/local/bin/boom
```## Usage
```
NAME:
boom - a simple and quick tool for bosh manifest maintenanceUSAGE:
boom [global options] command [command options] [arguments...]VERSION:
0.1.0COMMANDS:
mask, si creates a mask for a given list and a given key
set-instances, si Set the number of instances
scale-instances, sc Scale number of instances
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
```## Examples of use
### List the jobs
```
$ boom mask manifest.yml jobs
---
jobs:
- name: database
- name: brain
- name: cell
- name: cc_bridge
- name: route_emitter
- name: access
- name: acceptance_tests
```If you want to know the value of other keys, you only need to run something like this:
```
$ boom mask manifest.yml jobs
---
jobs:
- instances: 1
name: database
- instances: 1
name: brain
- instances: 4
name: cell
```### List the releases installed
```
$ boom mask manifest.yml releases
---
releases:
- name: diego
- name: cf
- name: garden-runc```
If you want to get the versions:```
boom mask lon-fabric.yml releases version
---
releases:
- name: diego
version: 1.0.1
- name: cf
version: 251
- name: garden-runc
version: 1.1.1
```