Giter Site home page Giter Site logo

atward / bespin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delfick/bespin

0.0 1.0 0.0 610 KB

An opinionated wrapper around Amazon Cloudformation for deployments

Home Page: https://bespin.readthedocs.io

License: MIT License

Python 99.96% Shell 0.04%
cloudformation python yaml automation

bespin's Introduction

Project Dormant

This project was purpose built for a need at a previous workplace of mine.

As far as I could tell, that was the only place this was used and since my departure from that workplace they have slowly switched to other projects for their deployments.

I don't use AWS at my current workplace, or in any personal projects and so haven't needed to use this.

In the future it's likely I'll only have time for small changes in this project.

Bespin

An opinionated wrapper around Amazon Cloudformation that reads yaml files. and make things happen.

https://travis-ci.org/delfick/bespin.png?branch=master

The documentation can be found at http://bespin.readthedocs.io

Installation

Just use pip:

pip install bespin

Usage

Once bespin is installed, there will be a new program called bespin.

When you call bespin without any arguments it will print out the tasks you have available.

You may invoke these tasks with the task option.

Simpler Usage

To save typing --task, --stack and --environment too much , the first positional argument is treated as task (unless it is prefixed with a -); the second positional argument (if also not prefixed with a -) is taken as the environment and the third is treated as the stack.

So:

$ bespin --task deploy --environment dev --stack app

Is equivalent to:

$ bespin deploy dev app

Logging colors

If you find the logging output doesn't look great on your terminal, you can try setting the term_colors option in bespin.yml to either light or dark.

The yaml configuration

Bespin reads everything from a yaml configuration. By default this is a bespin.yml file in the current directory, but may be changed with the --bespin-config option or BESPIN_CONFIG environment variable.

It will also read from ~/.bespin.yml and will be overridden by anything in the configuration file you've specified.

Tests

Install testing deps and run the helpful script:

pip install -e .
pip install -e ".[tests]"
./test.sh

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.