Use new markdown mermaid support for the process diagram
This commit is contained in:
parent
8b9b746cfa
commit
9ff6282fd6
37
README.md
37
README.md
@ -36,7 +36,42 @@ subcommands:
|
||||
The following graph shows what happens between a PKGBUILD getting changed in git
|
||||
and the built package being available in the pacman repo.
|
||||
|
||||

|
||||
```mermaid
|
||||
%%{init: {'theme': 'forest' } }%%
|
||||
sequenceDiagram
|
||||
participant GIT as MSYS2/MINGW-packages
|
||||
participant API as packages.msys2.org
|
||||
participant GHA as GitHub Actions
|
||||
participant DT as msys2-autobuild
|
||||
participant DEV as Developer
|
||||
participant REPO as Pacman Repo
|
||||
|
||||
GIT->>GHA: GIT push trigger
|
||||
GHA->>GHA: parse PKGBUILDs
|
||||
GHA-->>GIT: upload parsed PKGBUILDs
|
||||
|
||||
loop Every 5 minutes
|
||||
API->>GIT: fetch parsed PKGBUILDs
|
||||
GIT-->>API:
|
||||
end
|
||||
|
||||
loop Every 2 hours
|
||||
DT->>GHA: cron trigger
|
||||
GHA->>API: fetch TODO list
|
||||
API-->>GHA:
|
||||
GHA->>GIT: fetch PKGBUILDs
|
||||
GIT-->>GHA:
|
||||
GHA->>DT: fetch staging
|
||||
DT-->>GHA:
|
||||
GHA->>GHA: build packages
|
||||
GHA-->>DT: upload packages
|
||||
end
|
||||
|
||||
DEV->>DT: fetch packages
|
||||
DT-->>DEV:
|
||||
DEV->>DEV: sign packages
|
||||
DEV->>REPO: push to repo
|
||||
```
|
||||
|
||||
### Security Considerations
|
||||
|
||||
|
||||
43
docs/docs.md
43
docs/docs.md
@ -1,43 +0,0 @@
|
||||
https://mermaid-js.github.io
|
||||
|
||||
```
|
||||
sequenceDiagram
|
||||
participant GIT as MSYS2/MINGW-packages
|
||||
participant API as packages.msys2.org
|
||||
participant GHA as GitHub Actions
|
||||
participant DT as msys2-autobuild
|
||||
participant DEV as Developer
|
||||
participant REPO as Pacman Repo
|
||||
|
||||
GIT->>GHA: GIT push trigger
|
||||
GHA->>GHA: parse PKGBUILDs
|
||||
GHA-->>GIT: upload parsed PKGBUILDs
|
||||
|
||||
loop Every 5 minutes
|
||||
API->>GIT: fetch parsed PKGBUILDs
|
||||
GIT-->>API:
|
||||
end
|
||||
|
||||
loop Every 2 hours
|
||||
DT->>GHA: cron trigger
|
||||
GHA->>API: fetch TODO list
|
||||
API-->>GHA:
|
||||
GHA->>GIT: fetch PKGBUILDs
|
||||
GIT-->>GHA:
|
||||
GHA->>DT: fetch staging
|
||||
DT-->>GHA:
|
||||
GHA->>GHA: build packages
|
||||
GHA-->>DT: upload packages
|
||||
end
|
||||
|
||||
DEV->>DT: fetch packages
|
||||
DT-->>DEV:
|
||||
DEV->>DEV: sign packages
|
||||
DEV->>REPO: push to repo
|
||||
```
|
||||
|
||||
```
|
||||
{
|
||||
"theme": "forest"
|
||||
}
|
||||
```
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 24 KiB |
Loading…
x
Reference in New Issue
Block a user