git-next/crates/repo-actor
Paul Campbell 651c20c897
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
WIP: refactor: repo-actor: rewrite tests using mockall
2024-06-27 18:38:42 +01:00
..
src WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-27 18:38:42 +01:00
Cargo.toml WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-27 18:38:42 +01:00
README.md WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-27 18:38:42 +01:00

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