-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMonorepo CI workflow v2.drawio
195 lines (195 loc) · 17.8 KB
/
Monorepo CI workflow v2.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<mxfile host="app.diagrams.net" modified="2021-07-29T12:58:30.693Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36" etag="MHZQbqqmxotkmdtdvZXk" version="14.9.2" type="github">
<diagram id="GT1y-rc0Hk91Yud6sWGL" name="Page-1">
<mxGraphModel dx="1033" dy="626" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="LfqFqU7JRUhcmkoWJi2--16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="xVTkL853BXkWZyznKZ-w-4" target="5vuApOfT_cjBhhZYTmAU-14">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="xVTkL853BXkWZyznKZ-w-4" target="5vuApOfT_cjBhhZYTmAU-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="xVTkL853BXkWZyznKZ-w-4" value="<span style="color: rgb(0 , 0 , 0) ; font-family: &#34;helvetica&#34; ; font-size: 9px ; font-style: normal ; font-weight: 400 ; letter-spacing: normal ; text-align: center ; text-indent: 0px ; text-transform: none ; word-spacing: 0px ; background-color: rgb(248 , 249 , 250) ; display: inline ; float: none">Check if go.mod affected</span>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="395" y="320" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-6" target="5vuApOfT_cjBhhZYTmAU-20">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-6" value="Run separated build over CircleCI API" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="395" y="520" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-8" target="5vuApOfT_cjBhhZYTmAU-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-8" value="Get services list accordingly with the GIT DIFF" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="475" y="420" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-12" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" parent="1" vertex="1" connectable="0">
<mxGeometry x="475" y="390" as="geometry">
<mxPoint x="-9" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-14" target="5vuApOfT_cjBhhZYTmAU-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="375" y="500" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-14" value="Run build for all services" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="315" y="420" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-18" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" parent="1" vertex="1" connectable="0">
<mxGeometry x="445" y="390" as="geometry">
<mxPoint x="-9" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" parent="1" source="5vuApOfT_cjBhhZYTmAU-20" target="5vuApOfT_cjBhhZYTmAU-31" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-20" value="Build binaries and docker images<br>If CIRCLE_TAG ~= version then build docker tag=CIRCLE_TAG<br>&nbsp; else build docker tag=CIRCLE_BRANCH (+master=latest)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="315" y="620" width="280" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-31" target="5vuApOfT_cjBhhZYTmAU-44">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-31" value="Push docker images to the registry" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="395" y="700" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;fontSize=15;" parent="1" source="5vuApOfT_cjBhhZYTmAU-33" target="5vuApOfT_cjBhhZYTmAU-37" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-33" value="Developer<br>" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="62.5" y="20" width="50" height="100" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-37" target="LfqFqU7JRUhcmkoWJi2--7">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="375" y="120" />
<mxPoint x="210" y="120" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--43" value="Master" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" vertex="1" connectable="0" parent="LfqFqU7JRUhcmkoWJi2--12">
<mxGeometry x="0.2262" y="-3" relative="1" as="geometry">
<mxPoint x="22" y="-7" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-37" target="LfqFqU7JRUhcmkoWJi2--8">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="375" y="120" />
<mxPoint x="535" y="120" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--44" value="Any branch&nbsp;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" vertex="1" connectable="0" parent="LfqFqU7JRUhcmkoWJi2--13">
<mxGeometry x="-0.5523" y="3" relative="1" as="geometry">
<mxPoint x="43" y="-7" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-37" target="LfqFqU7JRUhcmkoWJi2--41">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--51" value="Tag" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" vertex="1" connectable="0" parent="LfqFqU7JRUhcmkoWJi2--50">
<mxGeometry x="0.3736" y="-2" relative="1" as="geometry">
<mxPoint x="1" y="-43" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-37" value="Push to the monorepo" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="315" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=330;exitDy=75;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=9;" parent="1" source="5vuApOfT_cjBhhZYTmAU-43" target="5vuApOfT_cjBhhZYTmAU-44" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-50" value="Polling" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" parent="5vuApOfT_cjBhhZYTmAU-47" vertex="1" connectable="0">
<mxGeometry x="-0.2313" y="-1" relative="1" as="geometry">
<mxPoint x="-8" y="-11" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=0;exitDy=55;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=9;" edge="1" parent="1" source="5vuApOfT_cjBhhZYTmAU-43" target="LfqFqU7JRUhcmkoWJi2--36">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--39" value="Commit" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" vertex="1" connectable="0" parent="LfqFqU7JRUhcmkoWJi2--38">
<mxGeometry x="-0.1518" y="-1" relative="1" as="geometry">
<mxPoint x="3" y="-7" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-43" value="CD system" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="195" y="930" width="330" height="130" as="geometry" />
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;fontSize=9;entryX=0;entryY=0;entryDx=320;entryDy=10;entryPerimeter=0;" parent="1" source="5vuApOfT_cjBhhZYTmAU-44" target="5vuApOfT_cjBhhZYTmAU-43" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="597.5" y="952.727294921875" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-49" value="WebHook" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" parent="5vuApOfT_cjBhhZYTmAU-48" vertex="1" connectable="0">
<mxGeometry x="0.0001" y="-4" relative="1" as="geometry">
<mxPoint x="23" y="-19" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="5vuApOfT_cjBhhZYTmAU-44" value="Registry" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=9;" parent="1" vertex="1">
<mxGeometry x="585" y="800" width="75" height="100" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--7" value="Approve release / make a version tag" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="150" y="139" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="LfqFqU7JRUhcmkoWJi2--8" target="xVTkL853BXkWZyznKZ-w-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--8" value="Get diff with prev. successful build sha(over CircleCI API)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="475" y="219" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="LfqFqU7JRUhcmkoWJi2--27" target="LfqFqU7JRUhcmkoWJi2--7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--27" value="Release manager" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="20" y="119" width="50" height="100" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=9;" edge="1" parent="1" source="LfqFqU7JRUhcmkoWJi2--36" target="5vuApOfT_cjBhhZYTmAU-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--40" value="Refresh" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=9;" vertex="1" connectable="0" parent="LfqFqU7JRUhcmkoWJi2--37">
<mxGeometry x="-0.5818" y="-1" relative="1" as="geometry">
<mxPoint x="19" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--36" value="Configuration repo" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="50" y="800" width="75" height="100" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=9;" edge="1" parent="1" source="LfqFqU7JRUhcmkoWJi2--41" target="xVTkL853BXkWZyznKZ-w-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--41" value="Get diff with prev. release(over GitHub API)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="315" y="219" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--53" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;fontSize=9;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="170" y="210" as="sourcePoint" />
<mxPoint x="690" y="210" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--54" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;fontSize=9;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="170" y="590" as="sourcePoint" />
<mxPoint x="690" y="590" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--55" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;fontSize=9;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="170" y="770" as="sourcePoint" />
<mxPoint x="690" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--56" value="<font style="font-size: 14px">CircleCI workflows</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="605" y="139" width="130" height="20" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--57" value="<font style="font-size: 14px">trigger-build job</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="605" y="380" width="110" height="20" as="geometry" />
</mxCell>
<mxCell id="LfqFqU7JRUhcmkoWJi2--58" value="<span style="font-size: 14px">go-build-service-build-and-push</span>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fontSize=9;" vertex="1" parent="1">
<mxGeometry x="605" y="670" width="210" height="20" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>