34 lines
693 B
Markdown
34 lines
693 B
Markdown
|
```mermaid
|
||
|
stateDiagram-v2
|
||
|
[*] --> CloneRepo :Start
|
||
|
|
||
|
CloneRepo --> LoadConfigFromRepo
|
||
|
CloneRepo --> ValidateRepo
|
||
|
|
||
|
LoadConfigFromRepo --> LoadedConfig
|
||
|
|
||
|
ValidateRepo --> CheckCIStatus
|
||
|
ValidateRepo --> AdvanceNext
|
||
|
ValidateRepo --> ValidateRepo :invalid
|
||
|
|
||
|
CheckCIStatus --> AdvanceMain :Pass
|
||
|
CheckCIStatus --> ValidateRepo :Pending
|
||
|
CheckCIStatus --> [*] :Fail
|
||
|
|
||
|
AdvanceNext --> ValidateRepo
|
||
|
|
||
|
LoadedConfig --> ValidateRepo
|
||
|
LoadedConfig --> RegisterWebhook
|
||
|
|
||
|
RegisterWebhook --> WebhookRegistered
|
||
|
|
||
|
WebhookRegistered --> [*]
|
||
|
|
||
|
AdvanceMain --> LoadConfigFromRepo :on repo config - reload
|
||
|
AdvanceMain --> ValidateRepo :on server config
|
||
|
|
||
|
[*] --> WebhookMessage :WEBHOOK
|
||
|
|
||
|
WebhookMessage --> ValidateRepo
|
||
|
```
|