WIP potentially to be dropped

This commit is contained in:
Martin McCaffery 2025-12-18 09:21:05 +01:00
parent 10cce1376a
commit 880c0d5ec9
Signed by: martin.mccaffery
GPG key ID: 7C4D0F375BCEE533
14 changed files with 208 additions and 77 deletions

View 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
}
}
}