Giter Site home page Giter Site logo

mshirley / rdeploy Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 100 KB

This is a small web app which takes a specially crafted tar file that contains a manifest file and apps to be deployed. This will allow you to pick and choose the packages to push and eventually will include email and approval workflow.

Ruby 100.00%

rdeploy's Introduction

rdeploy

Design

The goal of this script will be to create a program that can watch a folder for a specially crafted tar file containing a manifest that provides the script all the information it will need to automatically deploy a fix. The fix will be placed in a directory that is constantly watched by the script. When a new fix file is dropped in it will automatically be picked up and put in the queue for deployment. The user accesses a webport which will present a GUI containing all the fixes in the queue. At this point the user can select the specific fix to be deployed and where it should be deployed to (QA/Stage/Prod). Once accepted, the script will process all the deployements selected. First it will read the manifest file from the .tar to propagate important deployment information. i

Process

  1. Scan dir for fixes
  2. Extract master-manifest
  3. Add fixes to queue
  4. Access webport to approve deployments to desired pool
  5. Process queue
  6. Send email to QA for PLV
  7. PLV IF Stage GOTO: 3 ELSE GOTO: 8
  8. Delete or move fix files

Manifest Example

---
comments: asdf
date: 1-1-01
ttp: 12354

deployments:
- fixid: 1
  comment: fixid 1 comment
  type: Web
  stage:
   group: Stage Web
   clear-template: true
   restart-apache: true
  production:
   group: Prod Web
   clear-template: true
   restart-apache: true

- fixid: 2
  comment: fixid 2 comment
  type: Ecomdb
  stage:
   group: Stage Ecomdb
  production:
   group: Prod Ecomdb

- fixid: 3
  comment: fixid 3 comment
  type: Dispatcher
  stage:
   group: Stage Dispatcher
  production:
   group: Prod Dispatcher

rdeploy's People

Contributors

mshirley avatar

Watchers

 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.