summaryrefslogtreecommitdiff
path: root/buildseq.uml
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-06-30 19:27:34 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-06-30 19:27:34 +0300
commitc639e5b36d688953393d7e801204193e11515cde (patch)
tree1e3f708a8d19206759dafd5f38d089bfb37f23ad /buildseq.uml
parent008943cd6dd10ef1d5dd83a8f5d724658f6a00ad (diff)
downloadwmf-ci-arch-c639e5b36d688953393d7e801204193e11515cde.tar.gz
Add: document CI-around-GitLab, first iteration
Diffstat (limited to 'buildseq.uml')
-rw-r--r--buildseq.uml42
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