Giter Site home page Giter Site logo

denismo / devopsgears Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 332 KB

Provides foundation for the source-control driven DevOps infrastructure where everything is represented and managed via files.

License: GNU General Public License v3.0

Python 96.11% Shell 3.89%

devopsgears's People

Contributors

denismo avatar

Watchers

 avatar  avatar  avatar

devopsgears's Issues

Implement "self" descriptors

Self descriptiors are files named "self" in folders. They are in yaml format (by default, if no extensions is specified) and describe the actual resource. When resource is registered, the resource description is read from "self" rather than from the file (because there is no file - it is a folder with the name of the resource).

Pass in AWS properties as part of configuration

Properties such as profile name or credentials, and have SQS handler use those properties (for some reason, it was not possible initially as connect_to_region does not accept many properties)

Reorganize README

  1. README itself should only contain basic introductory information. Important is quick start, and links to examples
  2. Put all other pages on Wiki

Create interface for controlling resources

In particular, for controlling resource states. It should be possible to write "devopsgears transition /dev deactivate" which would deactivate the whole "dev" environment, which would in turn stop all its EC2 instances for example.

Correct handling of run action

Currently run action is invoked if a script fails to execute. Instead, run handlers should be registered for handler type, and whenever that handler needs to run, run handler will get invoked by default.

Implement new state machine

the new state machine with activate state

  1. Activate - active state
  2. activeByDefault resources
  3. Root is active by default
  4. When child attaches to parent which is active, its "activate" handler is immediately triggered

Add sorting of handlers (especially action handlers)

Handlers need to be sorted so that more specific handlers are executed before general. Only the first action handler should be executed. This will allow to write handler for specific resource type, and have a fallback for general types.

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.