Git Product home page Git Product logo

boatswain's Introduction

boatswain

Getting Started

Boatswain works in conjunction with a boatswain-values project — you need both. A boatswain-values project is a set of Helm package folders. To learn more about Helm, or to learn more information about putting together a helm package, visit the Helm repo. The boatswain-values repo should be organized like this:

boatswain-values
|
├── deployment
|   |
|   ├── .cloudformation
|   |   └── cloudformation-template.yaml
|   |
|   ├── .globals
|   |   └── values.staging.yaml
|   |   └── values.yaml
|   |
|   ├── .servicemap
|   |   └── staging.yaml
|   |
|   ├── my-helm-package
|   |   |
|   |   ├── templates
|   |   |   └── ace-deployment.yaml
|   |   └── values.yaml
|   |   └── values.env.yaml
|   |   └── values.staging.yaml
|   |   └── values.prod.yaml
|   |
|   ├── another-helm-package
|   |   └── ...

To learn more about the boatswain-values repo, take a look at the example project.

Config file lives in ${HOME}/.boatswain.yaml

boatswain stage push

In order to build and deploy automatically to staging using boatswain stage push, you need to add a builds array in your config with an entry for each project you want to deploy to staging along with an absolute path to the project's root directory (rootpath) and the relative path — from the project's root — to the build.sh script (path). We need both values because docker build needs to be run from the project's root directory, but we also need to know where the build.sh script lives. See the example config below.

ReleasePath: /path/to/boatswain-values/deployment
Builds:
- Name: medbridge
  Path: deployment/build.sh
  RootPath: /Users/<name>/Programming/Php/Medbridge
- Name: medflix
  Path: deployment/build.sh
  RootPath: /Users/<name>/Programming/Php/Medflix/
- Name: ace
  Path: deployment/build.sh
  RootPath: /Users/<name>/Programming/Php/Ace

boatswain's People

Contributors

erstaples avatar phillydogg28 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.