git-next/crates/repo-actor
Paul Campbell 4b095e8504
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-25 20:56:35 +01:00
..
src WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-25 20:56:35 +01:00
Cargo.toml WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-25 20:56:35 +01:00
README.md WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-25 20:56:35 +01:00

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