diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-06-30 19:27:34 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-06-30 19:27:34 +0300 |
commit | c639e5b36d688953393d7e801204193e11515cde (patch) | |
tree | 1e3f708a8d19206759dafd5f38d089bfb37f23ad /buildseq.uml | |
parent | 008943cd6dd10ef1d5dd83a8f5d724658f6a00ad (diff) | |
download | wmf-ci-arch-c639e5b36d688953393d7e801204193e11515cde.tar.gz |
Add: document CI-around-GitLab, first iteration
Diffstat (limited to 'buildseq.uml')
-rw-r--r-- | buildseq.uml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/buildseq.uml b/buildseq.uml new file mode 100644 index 0000000..c6d905d --- /dev/null +++ b/buildseq.uml @@ -0,0 +1,42 @@ +@startuml + +participant gerrit as "Gerrit\n(git server)" +participant controller as "Controller" +participant vcsworker as "VCS\nworker" +participant gitlab as "GitLab" +participant runner as "Gitlab\nRunner" +participant artifacts as "Artifact\nstore" +participant deployer as "Deployment\nworker" +participant env as "Test\nenvironment" + +gerrit -> controller : notify of change +activate controller + +controller -> vcsworker : copy repo to gitlab +activate vcsworker +vcsworker -> gerrit : git clone +gerrit -> vcsworker +vcsworker -> gitlab : git push +activate gitlab +vcsworker -> controller +deactivate vcsworker + +gitlab -> runner : build .gitlab-ci.yml +activate runner +runner -> artifacts : upload artifacts +runner -> gitlab : build finished +deactivate runner +gitlab -> controller : webhook: build finished +deactivate gitlab + +controller -> deployer : deploy artifacts +activate deployer +deployer -> artifacts : request artifacts +artifacts -> deployer +deployer -> env : copy artifacts to test env +deployer -> controller : deployment done +deactivate deployer + +controller -> gerrit : notify build result +deactivate controller +@enduml |