| |
@@ -0,0 +1,52 @@
|
| |
+ @startuml
|
| |
+
|
| |
+ hide footbox
|
| |
+ title Example of a Pull Request Created/Updated Workflow for a Distgit
|
| |
+
|
| |
+ actor Human
|
| |
+ participant src.fp.org
|
| |
+ participant Zuul
|
| |
+ participant Nodepool
|
| |
+ participant Koji
|
| |
+
|
| |
+ Human -> src.fp.org : Open/Update/Recheck a PR
|
| |
+
|
| |
+ activate src.fp.org
|
| |
+ src.fp.org -> Zuul : Notify (webhook)
|
| |
+ activate Zuul
|
| |
+
|
| |
+ == check pipeline ==
|
| |
+ group job rpm-scratch-build run
|
| |
+ Zuul -> Nodepool : Starts rpm-scratch-build exec
|
| |
+ activate Nodepool
|
| |
+ Nodepool -> Koji : Request scratch build
|
| |
+ activate Koji
|
| |
+ Koji -> Koji : Exec scratch build
|
| |
+ Koji -> Nodepool : Result build result
|
| |
+ Nodepool -> Koji : Fetch artifacts (rpms)
|
| |
+ deactivate Koji
|
| |
+ end
|
| |
+ Zuul -> Nodepool : Fetch result and artifacts
|
| |
+ deactivate Nodepool
|
| |
+ Zuul -> Zuul : Store result and artifacts
|
| |
+ activate Nodepool
|
| |
+ group job rpm-lint and rpm-rpminspect runs
|
| |
+ Zuul -> Nodepool : Starts rpm-lint and rpm-rpminspect exec
|
| |
+ Nodepool -> Nodepool : Fetch artifacts (rpms) form store
|
| |
+ end
|
| |
+ note right
|
| |
+ Jobs re-use previously built artifacts
|
| |
+ (rpms) from rpm-scratch-build parent job.
|
| |
+ Jobs are executed in // on different VMs
|
| |
+ or containers.
|
| |
+ end note
|
| |
+ Zuul -> Nodepool : Fetch results and artifacts
|
| |
+ deactivate Nodepool
|
| |
+ Zuul -> Zuul : Store result and artifacts
|
| |
+ Zuul -> src.fp.org : Return CI status via the API
|
| |
+ Zuul -> src.fp.org : Return logs/artifacts links as comment via the API
|
| |
+ deactivate Zuul
|
| |
+ deactivate src.fp.org
|
| |
+ == End of check pipeline ==
|
| |
+
|
| |
+ @enduml
|
| |