Skip to content

Commit

Permalink
Clarify diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
schnatterer committed Oct 30, 2023
1 parent bcad5fc commit 8557f3c
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/puml/config-replication-oci.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND

skinparam actorStyle awesome

actor Developer as user
rectangle "<$git>\nGit" as appRepo
actor " " as user
rectangle "<$git>\nRepo" as appRepo
rectangle "<$jenkins>\nCI Server" as ciServer

rectangle "<$k8s>\nK8s Cluster" as k8s {
Expand Down
7 changes: 4 additions & 3 deletions src/puml/config-replication.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND

skinparam actorStyle awesome
together {
actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand All @@ -35,9 +35,10 @@ rectangle "<$docker>\nOCI Registry" as registry
user -[#red]> appRepo : push\ncode\n<color:red>+config
appRepo -[hidden]> configRepo
appRepo <-- ciServer : pull
registry <-- ciServer : push image
configRepo <--[#red] ciServer : <color:red>push\n<color:red>config
k8s --> registry : pull
configRepo <- k8s : pull
k8s --> registry : pull image
configRepo <- k8s : pull config
k8s -> k8s : deploy

skinparam actor {
Expand Down
8 changes: 4 additions & 4 deletions src/puml/config-update-ci.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND

skinparam actorStyle awesome

actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand All @@ -36,9 +36,9 @@ appRepo -[hidden]> configRepo
appRepo <-- ciServer : pull
configRepo <-- ciServer : push\nconfig
configRepo <--[#red] ciServer : <color:red>create PR
ciServer -> registry : push
k8s --> registry : pull
configRepo <- k8s : pull
ciServer -> registry : push\nimage
k8s --> registry : pull image
configRepo <- k8s : pull\nconfig
k8s -> k8s : deploy

skinparam actor {
Expand Down
8 changes: 4 additions & 4 deletions src/puml/config-update-dependency-bot.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND

skinparam actorStyle awesome

actor Developer as user
actor " " as user
rectangle "<$git>\nGit Repo" as gitRepo
rectangle "<$paint_roller>\nDependency bot" as bot
rectangle "<$jenkins>\nCI Server" as ciServer
Expand All @@ -34,11 +34,11 @@ rectangle "<$k8s>\nK8s Cluster" as k8s {

user -> gitRepo : push
gitRepo <-- ciServer : pull
ciServer -> registry : push
ciServer -> registry : push\nimage
bot -[#red]> registry : <color:red>watch
k8s --> registry : pull
k8s --> registry : pull\nimage
gitRepo <-[#red] bot : <color:red>create PR
gitRepo <- k8s : pull
gitRepo <- k8s : pull config
k8s -> k8s : deploy

skinparam actor {
Expand Down
10 changes: 5 additions & 5 deletions src/puml/config-update-image-updater.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
skinparam actorStyle awesome

together {
actor Developer as user
actor " " as user
rectangle "<$git>\nGit Repo" as gitRepo
rectangle "<$jenkins>\nCI Server" as ciServer
}
Expand All @@ -34,11 +34,11 @@ rectangle "<$docker>\nOCI Registry" as registry

user -> gitRepo : push
gitRepo <-- ciServer : pull
ciServer -> registry : push
k8s --> registry : pull
ciServer -> registry : push\nimage
k8s --> registry : pull\nimage
k8s -[#red]-> registry : <color:red>watch
k8s -> gitRepo : pull
k8s -[#red]> gitRepo : <color:red>push
k8s -> gitRepo : pull config
k8s -[#red]> gitRepo : <color:red>push new\n<color:red>image version
k8s -> k8s : deploy

skinparam actor {
Expand Down
10 changes: 5 additions & 5 deletions src/puml/repo-pointer.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
skinparam actorStyle awesome

together {
actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand All @@ -36,10 +36,10 @@ user -[#red]> appRepo : push\ncode\n<color:red>+config
appRepo -[hidden]> configRepo
appRepo <-[#red] configRepo : <color:red>point to
appRepo <-- ciServer : pull
ciServer -> registry : push
k8s --> registry : pull
configRepo <- k8s : pull
appRepo <-[#red] k8s : <color:red>pull
ciServer -> registry : " push image "
k8s --> registry : pull image
configRepo <- k8s : pull\nconfig
appRepo <-[#red] k8s : <color:red>pull config
k8s -> k8s : deploy


Expand Down
2 changes: 1 addition & 1 deletion src/puml/repo-split-git.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
skinparam actorStyle awesome

together {
actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand Down
2 changes: 1 addition & 1 deletion src/puml/repo-split-helm-reg.puml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
skinparam actorStyle awesome

together {
actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand Down
2 changes: 1 addition & 1 deletion src/puml/repo-split-oci.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skinparam sequenceArrowColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
skinparam actorStyle awesome

together {
actor Developer as user
actor " " as user
rectangle "<$git>\nApp Repo" as appRepo
rectangle "<$git>\nConfig Repo" as configRepo
rectangle "<$jenkins>\nCI Server" as ciServer
Expand Down

0 comments on commit 8557f3c

Please sign in to comment.