-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathanimated.d2
More file actions
81 lines (68 loc) · 1.48 KB
/
animated.d2
File metadata and controls
81 lines (68 loc) · 1.48 KB
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
direction: right
title: {
label: Normal deployment
near: bottom-center
shape: text
style.font-size: 40
style.underline: true
}
local: {
code: {
icon: https://icons.terrastruct.com/dev/go.svg
}
}
local.code -> github.dev: commit
github: {
icon: https://icons.terrastruct.com/dev/github.svg
dev
master: {
workflows
}
dev -> master.workflows: merge trigger
}
github.master.workflows -> aws.builders: upload and run
aws: {
builders -> s3: upload binaries
ec2 <- s3: pull binaries
builders: {
icon: https://icons.terrastruct.com/aws/Developer%20Tools/AWS-CodeBuild_light-bg.svg
}
s3: {
icon: https://icons.terrastruct.com/aws/Storage/Amazon-S3-Glacier_light-bg.svg
}
ec2: {
icon: https://icons.terrastruct.com/aws/_Group%20Icons/EC2-instance-container_light-bg.svg
}
}
local.code -> aws.ec2: {
style.opacity: 0.0
}
scenarios: {
hotfix: {
title.label: Hotfix deployment
(local.code -> github.dev)[0].style: {
stroke: "#ca052b"
opacity: 0.1
}
github: {
dev: {
style.opacity: 0.1
}
master: {
workflows: {
style.opacity: 0.1
}
style.opacity: 0.1
}
(dev -> master.workflows)[0].style.opacity: 0.1
style.opacity: 0.1
style.fill: "#ca052b"
}
(github.master.workflows -> aws.builders)[0].style.opacity: 0.1
(local.code -> aws.ec2)[0]: {
style.opacity: 1
style.stroke-dash: 5
style.stroke: "#167c3c"
}
}
}