Skip to content
This repository has been archived by the owner on Aug 14, 2018. It is now read-only.

zetaron/deployment-bot-thing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

deployment bot thing - GraphQL-API

Architecture

+----------------------------+                   +-------------------+    +---------------------+
|                            |                   |                   |    |                     |
| External Service           |  deployment hook  | Provider API      |    | API/Relay API       |
|                            +-------------------> * map deployment  +----> * create deployment |
+------------------+---------+                   |                   |    |                     |
                   |                             +-------------------+    +-----+---------------+
                   |                                                            |
                   |                                                            |
                   |                                                            | send deployment
                   |                                                            |
                   |                                                            |
                   |                                        +-------------------v---------------+
                   |  git clone/pull/fetch                  |                                   |
                   +----------------------------------------> Deployment Runner                 |
                                                            | * has access to git (via secrets) |
                         +---------------------+            | * has access to docker registry   |
                         |                     |            | * knows swarm master to deploy to |
                         | Docker Swarm Master |  schedule  | * is allowed to schedule services |
                         |                     <------------+                                   |
                         +---------------------+            +-----------------------------------+

Graph drawn using: http://asciiflow.com/

MVP API

OpenAPI spec

See the swagger/swagger.yaml (View/Edit using Swagger Editor)

Tools

Releases

No releases published

Packages

No packages published