Giter Club home page Giter Club logo

microci's Introduction

MicroCI

                   _ ___ 
  |\/| o  _ ._ _  /   |  
  |  | | (_ | (_) \_ _|_ 
                        
        .
       ":"
     ___:_____    |"\/"|
   ,'         \    \  /
   |  O        \___/  |
 ~^~^~^~^~^~^~^~^~^~^~^~^~

What is MicroCI

MicroCI is minimalistic Continuous Integration (CI) tool, that implements a super simple CI pipeline for Docker-based microservices.

The Docker container technology simplifies build, deployment and operation of Microservices.

MicroCI takes several assumptions about how development lifecycle of Docker-based microservices:

  1. Docker image is a core package format and main deployment artifact
  2. One git repository for one microservice
  3. One Dockerfile to create and unit test microservice image, use multi-stage build for advanced built/test pipelines
  4. Docker Registry (public or private) is used to store built Docker images
  5. Service build should be triggered by Push, Branch or Tag event
  6. Build report should be sent into Team group chat (Slack, or other)
  7. Build report should be sent as WebHook payload for further integrations

MicroCI Pipeline

  1. Trigger - GitHub event: push, branch, tag
  2. Build - docker build for Git "event" commit SHA
  3. Deploy - docker push to Docker Registry (private, public)
  4. Notify - send build report (status, duration, output, etc.) to STDOUT/Slack/WebHook

MicroCI Pipeline

Installation

MicroCI is available as a single binary for every platform (Linux, Mac and Windows). It's statically linked without any external dependency.

MicroCI Docker container

TBD

MicroCI Kubernetes Deployment

TBD:

Connecting to Docker daemon

MicroCI can is working with Docker daemon through official Docker API (Go SDK). It can connect either to a local Docker daemon (no configuration is required in this case) or with a remote Docker daemon.

MicroCI respects all Docker environment variables when connecting to a Docker server.

Use DOCKER_HOST to set the url to the docker server. Use DOCKER_API_VERSION to set the version of the API to reach, leave empty for latest. Use DOCKER_CERT_PATH to load the TLS certificates from. Use DOCKER_TLS_VERIFY to enable or disable TLS verification, off by default.

microci's People

Contributors

alexei-led avatar

Watchers

 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.