New architecture schema (graphviz dot format)
This commit is contained in:
parent
5ff402bada
commit
fab5516935
|
@ -0,0 +1,63 @@
|
||||||
|
# http://www.graphviz.org/content/cluster
|
||||||
|
|
||||||
|
digraph G {
|
||||||
|
graph [fontname = "Handlee"];
|
||||||
|
node [fontname = "Handlee"];
|
||||||
|
edge [fontname = "Handlee"];
|
||||||
|
|
||||||
|
bgcolor=transparent;
|
||||||
|
|
||||||
|
subgraph cluster_0 {
|
||||||
|
node [style=filled fontsize=10];
|
||||||
|
"foreach task for source"
|
||||||
|
"all tasks completed"
|
||||||
|
label = "forgebuild";
|
||||||
|
fontsize = 20;
|
||||||
|
color=blue
|
||||||
|
subgraph cluster_2 {
|
||||||
|
node [style=filled fontsize=10]
|
||||||
|
label="Task"
|
||||||
|
color = blue
|
||||||
|
fontsize = 15
|
||||||
|
"Main/submodules updates"
|
||||||
|
"Run task"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
subgraph cluster_1 {
|
||||||
|
node [style=filled];
|
||||||
|
fontsize = 20;
|
||||||
|
color = blue;
|
||||||
|
label="Github/Gitea/Gitlab"
|
||||||
|
"Send webhook"
|
||||||
|
}
|
||||||
|
|
||||||
|
subgraph cluster_3 {
|
||||||
|
node [style=filled];
|
||||||
|
fontsize = 20;
|
||||||
|
color = blue;
|
||||||
|
label="forgehook";
|
||||||
|
"receive POST request"
|
||||||
|
"Error (4XX/5XX)"
|
||||||
|
"Success (200)"
|
||||||
|
}
|
||||||
|
|
||||||
|
subgraph cluster_4 {
|
||||||
|
node [style=filled]
|
||||||
|
fontsize = 20;
|
||||||
|
color = blue;
|
||||||
|
label="forgecheck";
|
||||||
|
"Check secret"
|
||||||
|
}
|
||||||
|
|
||||||
|
"Send webhook" -> "receive POST request" -> "Check secret"
|
||||||
|
"Check secret" -> "foreach task for source" [label="valid"]
|
||||||
|
"Check secret" -> "Error (4XX/5XX)" [label="invalid"]
|
||||||
|
|
||||||
|
"foreach task for source" -> "Main/submodules updates"
|
||||||
|
"Main/submodules updates" -> "Run task"
|
||||||
|
"Run task" -> "all tasks completed"
|
||||||
|
"all tasks completed" -> "Success (200)"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
dot -Tpng "$1" > "$1".png
|
Loading…
Reference in New Issue