summaryrefslogtreecommitdiff
path: root/buildseq.uml
diff options
context:
space:
mode:
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