WIP potentially to be dropped
This commit is contained in:
parent
10cce1376a
commit
880c0d5ec9
14 changed files with 208 additions and 77 deletions
70
resources/edp-likec4/views/dynamic/cicd/garm-arch.c4
Normal file
70
resources/edp-likec4/views/dynamic/cicd/garm-arch.c4
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
deployment {
|
||||
environment otcKubernetes 'OTC Kubernetes' {
|
||||
description 'OTC Container Cluster Engine hosting EDP platform'
|
||||
technology 'Kubernetes'
|
||||
icon tech:kubernetes
|
||||
|
||||
cluster edpCluster 'EDP Cluster' {
|
||||
description 'EDP platform cluster'
|
||||
|
||||
instanceOf edp.forgejo {
|
||||
description 'Forgejo - Git platform with Actions'
|
||||
}
|
||||
|
||||
instanceOf edp.forgejoActions {
|
||||
description 'CI/CD orchestration for Forgejo'
|
||||
}
|
||||
|
||||
instanceOf edp.garm {
|
||||
description 'GARM container with runner orchestration'
|
||||
}
|
||||
|
||||
instanceOf edp.garm.garm {
|
||||
description 'GARM - Runner lifecycle manager'
|
||||
}
|
||||
|
||||
instanceOf edp.garm.providerEdgeConnect {
|
||||
description 'GARM Provider for Edge Connect'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
environment edgeConnectEnv 'Edge Connect' {
|
||||
description 'Edge infrastructure for ephemeral runner deployment'
|
||||
technology 'Edge Connect Platform'
|
||||
icon tech:docker
|
||||
|
||||
computeressource runnerInfrastructure 'Runner Infrastructure' {
|
||||
description 'Dynamically provisioned runner instances'
|
||||
|
||||
instanceOf forgejoRunner {
|
||||
description 'Ephemeral Forgejo Actions runner'
|
||||
-> otcKubernetes.edpCluster.forgejo 'registers with and picks up jobs'
|
||||
-> otcKubernetes.edpCluster.garm 'retrieves bootstrap information'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
views {
|
||||
deployment view forgejoGarmArchitecture {
|
||||
title 'Architecture of Forgejo, Garm and Edge Connect'
|
||||
description 'Deployment architecture showing GARM orchestrating ephemeral runners on Edge Connect for Forgejo Actions'
|
||||
|
||||
include
|
||||
otcKubernetes,
|
||||
otcKubernetes.*,
|
||||
otcKubernetes.**,
|
||||
edgeConnectEnv,
|
||||
edgeConnectEnv.*,
|
||||
edgeConnectEnv.**
|
||||
|
||||
style otcKubernetes {
|
||||
color blue
|
||||
}
|
||||
|
||||
style edgeConnectEnv {
|
||||
color green
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue