forked from HariSekhon/Diagrams-as-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_in_production.d2
executable file
·40 lines (35 loc) · 973 Bytes
/
test_in_production.d2
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
#!/usr/bin/env d2 --theme 200 --sketch
#
# Author: Hari Sekhon
# Date: 2023-05-03 04:51:54 +0100 (Wed, 03 May 2023)
#
# vim:ts=2:sts=2:sw=2:et:filetype=d2
#
# https://github.com/HariSekhon/Diagrams-as-Code
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
title: {
label: "I don't always test my code...\nbut when I do...\nI do it in Production!"
near: top-center
shape: text
style.font-size: 40
}
classes: {
meme: {
icon: images/test-in-production-meme.jpg
shape: image
}
}
Dev 1.class: meme
Dev 2.class: meme
Dev 3.class: meme
Dev 1 -> CI/CD: feature 1 { style.animated: true }
Dev 2 -> CI/CD: feature 2 { style.animated: true }
Dev 3 -> CI/CD: feature 3 { style.animated: true }
CI/CD -> Prod { style.animated: true }
CI/CD.shape: diamond