fix diagrams

pull/1/head
Michael Jerger 1 year ago
parent 86bb5cc8f8
commit 3176424d26

@ -26,61 +26,8 @@ But in the time beeing we will not livbe in this perfect world. So we present ou
At the moment our CI is running on gitlab, so thats our current model
```mermaid
C4Context
Person(community, "Community")
Person(maint, "Maintainer")
System_Boundary(gitlab, "GitLab") {
System(gitlab-repo, "GitLab")
System(gitlab-ci, "GitLab-CI")
}
System_Boundary(codeberg, "Codeberg") {
System(cb-repo, "Codeberg")
}
System_Boundary(gitea, "repo.prod.meissa.de") {
System(gitea-repo, "repo")
}
System_Boundary(github, "github") {
System(github-repo, "GitHub")
}
Rel(maint, gitlab-repo, "interact")
Rel(community, gitlab-repo, "interact")
Rel(gitlab-repo, gitea-repo, "mirror on pull")
Rel(gitea-repo, github-repo, "mirror on push")
Rel(gitea-repo, cb-repo, "mirror on push")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="2")
```
![](doc/repositories.svg)
## Artefacts & CI
```mermaid
C4Context
System_Boundary(gitlab, "GitLab") {
System(gitlab-repo, "GitLab")
System(gitlab-ci, "GitLab-CI")
}
System_Boundary(gitea, "repo.prod.meissa.de") {
System(gitea-repo, "repo")
System(gitea-release-pages, "release pages")
System(gitea-artifacts, "artifacts")
}
System_Boundary(art, "Artifact Repositories") {
System(pypi, "Pypi")
System(docker, "Docker Hub")
System(npm, "Npm")
System(clojars, "Clojars")
}
Rel(gitlab-ci, gitea-release-pages, "create release & upload changelog")
Rel(gitlab-ci, gitea-artifacts, "artifact upload")
Rel(gitlab-ci, clojars, "artifact upload")
Rel(gitlab-ci, pypi, "artifact upload")
Rel(gitlab-ci, npm, "artifact upload")
Rel(gitlab-ci, docker, "artifact upload")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="2")
```
![](/home/jem/repo/opensource/federate-your-repos/doc/ciAndArtifacts.svg)

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 25 KiB

@ -0,0 +1,62 @@
# Mirroring
At the moment our CI is running on gitlab, so thats our current model
```mermaid
C4Context
Person(community, "Community")
Person(maint, "Maintainer")
System_Boundary(gitlab, "GitLab") {
System(gitlab-repo, "GitLab")
System(gitlab-ci, "GitLab-CI")
}
System_Boundary(codeberg, "Codeberg") {
System(cb-repo, "Codeberg")
}
System_Boundary(gitea, "repo.prod.meissa.de") {
System(gitea-repo, "repo")
}
System_Boundary(github, "github") {
System(github-repo, "GitHub")
}
Rel(maint, gitlab-repo, "interact")
Rel(community, gitlab-repo, "interact")
Rel(gitlab-repo, gitea-repo, "mirror on pull")
Rel(gitea-repo, github-repo, "mirror on push")
Rel(gitea-repo, cb-repo, "mirror on push")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="2")
```
## Artefacts & CI
```mermaid
C4Context
System_Boundary(gitlab, "GitLab") {
System(gitlab-repo, "GitLab")
System(gitlab-ci, "GitLab-CI")
}
System_Boundary(gitea, "repo.prod.meissa.de") {
System(gitea-repo, "repo")
System(gitea-release-pages, "release pages")
System(gitea-artifacts, "artifacts")
}
System_Boundary(art, "Artifact Repositories") {
System(pypi, "Pypi")
System(docker, "Docker Hub")
System(npm, "Npm")
System(clojars, "Clojars")
}
Rel(gitlab-ci, gitea-release-pages, "create release & upload changelog")
Rel(gitlab-ci, gitea-artifacts, "artifact upload")
Rel(gitlab-ci, clojars, "artifact upload")
Rel(gitlab-ci, pypi, "artifact upload")
Rel(gitlab-ci, npm, "artifact upload")
Rel(gitlab-ci, docker, "artifact upload")
UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="2")
```

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

Loading…
Cancel
Save