forked from kemitix/git-next
36 lines
759 B
Markdown
36 lines
759 B
Markdown
|
```mermaid
|
||
|
stateDiagram-v2
|
||
|
[*] --> CloneRepo :Start
|
||
|
|
||
|
CloneRepo --> LoadConfigFromRepo
|
||
|
CloneRepo --> ValidateRepo
|
||
|
|
||
|
LoadConfigFromRepo --> ReceiveRepoConfig
|
||
|
|
||
|
ValidateRepo --> CheckCIStatus
|
||
|
ValidateRepo --> AdvanceNext
|
||
|
ValidateRepo --> ValidateRepo :invalid
|
||
|
|
||
|
CheckCIStatus --> ReceiveCIStatus
|
||
|
|
||
|
ReceiveCIStatus --> AdvanceMain :Pass
|
||
|
ReceiveCIStatus --> ValidateRepo :Pending
|
||
|
ReceiveCIStatus --> [*] :Fail
|
||
|
|
||
|
AdvanceNext --> ValidateRepo
|
||
|
|
||
|
ReceiveRepoConfig --> ValidateRepo
|
||
|
ReceiveRepoConfig --> RegisterWebhook
|
||
|
|
||
|
RegisterWebhook --> WebhookRegistered
|
||
|
|
||
|
WebhookRegistered --> [*]
|
||
|
|
||
|
AdvanceMain --> LoadConfigFromRepo :on repo config - reload
|
||
|
AdvanceMain --> ValidateRepo :on server config
|
||
|
|
||
|
[*] --> WebhookNotification :WEBHOOK
|
||
|
|
||
|
WebhookNotification --> ValidateRepo
|
||
|
```
|