Giter Site home page Giter Site logo

otsuka-kentaro / genova Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metaps/genova

0.0 1.0 0.0 4.74 MB

AWS ECS Deployment manager

License: MIT License

Ruby 92.59% JavaScript 0.50% CSS 0.49% HTML 5.78% Shell 0.14% Vim Script 0.01% Dockerfile 0.50%

genova's Introduction

genova

CircleCI Maintainability Test Coverage MIT License

Description

genova provides feature to deploy and manage applications on AWS ECS.

Overview

genova is integrated package for deploying applications to ECS. You can deploy services, execute tasks, and execute scheduled tasks. As deployment method, interactive deployment using Slack, CLI, and continuous delivery with GitHub is supported. When you request deployment, starts deployment as follows.

  1. Get target repository code
  2. Find Dockerfile from deploy configuration (config/deploy.yml)
  3. Build Docker and create image
  4. Create new task based on task definition (config/deploy/*.yml)
  5. Send image to ECR based on new task definition
  6. Request ECS task update
  7. ECS switches to new task

Features

genova supports following features.

  • YAML-based task definition
    • Compatible with ECS and Fargate
    • Encrypt environment variables using KMS
  • Various deployment methods
    • CLI Deploy
    • Slack interactive deploy
    • GitHub push detect deploy
  • Web console
  • Tagging after deployment

Application directory structure

Please place following files in your application.

- config
  # Deploy configuration
  - deploy.yml

  - deploy
    # Task configurations
    - development.yml
    - staging.yml
    - production.yml

Setup genova

# Please specify GitHub repository account in github.account.
$ cp config/settings.yml config/settings.local.yml
$ cp .env.default .env

$ docker-compose build
$ docker-compose up

You can access web console by launching http://localhost:3000/.

CLI Deploy

Service deploy

# help
$ docker-compose run --rm rails thor genova:deploy help service

# command
$ docker-compose run --rm rails thor genova:deploy service -r {repository} -c {cluster} -s {service}

# e.g.
$ docker-compose run --rm rails thor genova:deploy service -r api -c production-app -s backend

More usage and documentation

Please refer to Wiki.

genova's People

Contributors

naomichi-y avatar dependabot[bot] avatar h-nago avatar

Watchers

James Cloos 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.