git-next/crates/repo-actor
Paul Campbell efc0dfdb6f
Some checks failed
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
Rust / build (push) Failing after 1m44s
refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo
2024-06-29 20:04:26 +01:00
..
src refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo 2024-06-29 20:04:26 +01:00
Cargo.toml refactor: extract actor-macros crate 2024-06-29 10:49:12 +01:00
README.md refactor: repo-actor: rewrite tests using mockall 2024-06-27 18:58:47 +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