-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcicd-cyb
161 lines (161 loc) · 13.6 KB
/
cicd-cyb
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
<mxfile host="app.diagrams.net" modified="2020-12-14T12:14:49.346Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" etag="UIlqPJ_iznPycKjfpC9x" version="14.0.1" type="github">
<diagram id="RxMEeWCy8G6CTXu-9YJE" name="Page-1">
<mxGraphModel dx="1373" dy="2036" 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="PSYIGVpPT2Qj7c6pXOUl-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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-4" target="PSYIGVpPT2Qj7c6pXOUl-14">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-17" value="IF Feauture branch pushed" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="PSYIGVpPT2Qj7c6pXOUl-16">
<mxGeometry x="0.3821" relative="1" as="geometry">
<mxPoint x="5" y="-28" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-4" value="cicd repo" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="535" y="-20" width="240" height="230" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-6" value="values-feature-infra.yaml.tpl" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="546.25" y="10" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-30" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-10" target="PSYIGVpPT2Qj7c6pXOUl-29">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-10" value="Service repos" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="142" y="-20" width="240" height="230" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;dashed=1;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-11" target="PSYIGVpPT2Qj7c6pXOUl-36">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-75" value="If branch is feature then get feature else master" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="PSYIGVpPT2Qj7c6pXOUl-74">
<mxGeometry x="-0.3474" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-11" value="values.yaml.tpl" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="545" y="170" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-12" value="values-prod.yaml.tpl" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="546.25" y="90" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-13" value="values-stage.yaml.tpl" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="546.25" y="130" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-26" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-14" target="PSYIGVpPT2Qj7c6pXOUl-15">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-14" value="Create feature namespace" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="280" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-25" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-15" target="PSYIGVpPT2Qj7c6pXOUl-18">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-15" value="Create secrets from dev" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="330" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-18" target="PSYIGVpPT2Qj7c6pXOUl-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-18" value="Deploy infra if values changed" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="380" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-68" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-22" target="PSYIGVpPT2Qj7c6pXOUl-36">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="655" y="480" />
<mxPoint x="530" y="480" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-22" value="Download feature if exists else master from service repos" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="430" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-29" target="PSYIGVpPT2Qj7c6pXOUl-34">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-29" value="Test" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="157" y="280" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-64" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-31" target="PSYIGVpPT2Qj7c6pXOUl-32">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-31" value="Deploy to Stage" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#cce5ff;strokeColor=#36393d;" vertex="1" parent="1">
<mxGeometry x="55" y="560" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-62" target="PSYIGVpPT2Qj7c6pXOUl-49">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-63" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-32" target="PSYIGVpPT2Qj7c6pXOUl-62">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-32" value="Approve deploy prod" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="55" y="615" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-34" target="PSYIGVpPT2Qj7c6pXOUl-36">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="342" y="360" />
<mxPoint x="342" y="410" />
<mxPoint x="425" y="410" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-42" value="If branch=Feature" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="PSYIGVpPT2Qj7c6pXOUl-41">
<mxGeometry x="-0.2408" y="3" relative="1" as="geometry">
<mxPoint x="4.5" y="-12" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-57" 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;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-34" target="PSYIGVpPT2Qj7c6pXOUl-52">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-58" value="If feature merged" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="PSYIGVpPT2Qj7c6pXOUl-57">
<mxGeometry x="0.0545" y="2" relative="1" as="geometry">
<mxPoint x="-7" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-34" target="PSYIGVpPT2Qj7c6pXOUl-31">
<mxGeometry x="-0.227" y="23" relative="1" as="geometry">
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-67" value="<span style="font-family: &#34;helvetica&#34;">If branch=hotfix</span>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="PSYIGVpPT2Qj7c6pXOUl-60">
<mxGeometry x="-0.0406" y="1" relative="1" as="geometry">
<mxPoint x="11.5" y="-27.5" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-34" value="Build" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="157" y="330" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-36" value="Deploy to feature ns on DEV" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffff88;strokeColor=#36393d;" vertex="1" parent="1">
<mxGeometry x="372" y="510" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-49" value="Deploy Prod" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffcccc;strokeColor=#36393d;" vertex="1" parent="1">
<mxGeometry x="55" y="720" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-59" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-52" target="PSYIGVpPT2Qj7c6pXOUl-31">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="213" y="460" />
<mxPoint x="213" y="510" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-52" value="Push latest tag" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="158" y="430" width="208" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-62" value="Create tag vX.X.X" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="55" y="670" width="210" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-71" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;dashed=1;fillColor=#d5e8d4;strokeColor=#82b366;" edge="1" parent="1" source="PSYIGVpPT2Qj7c6pXOUl-70" target="PSYIGVpPT2Qj7c6pXOUl-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-70" value="dev-service-list.json" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="546.25" y="50" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="PSYIGVpPT2Qj7c6pXOUl-73" value="Approve deploy stage" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="55" y="480" width="205" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>