summaryrefslogtreecommitdiff
path: root/architecture.mdwn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-03-25 16:18:17 +0300
committerLars Wirzenius <liw@liw.fi>2018-03-25 16:18:17 +0300
commit2ca45e7abbdecaef224d3111d94d21f6b7787c40 (patch)
tree7057b54a438ca085932a888881b348e523655447 /architecture.mdwn
parentaadd3b9ae64a875df07cff1a1f61d6583194aec1 (diff)
downloadick.liw.fi-2ca45e7abbdecaef224d3111d94d21f6b7787c40.tar.gz
Change: mark full project build chapter as out of date
Diffstat (limited to 'architecture.mdwn')
-rw-r--r--architecture.mdwn40
1 files changed, 5 insertions, 35 deletions
diff --git a/architecture.mdwn b/architecture.mdwn
index fba60e6..b9190a5 100644
--- a/architecture.mdwn
+++ b/architecture.mdwn
@@ -329,7 +329,7 @@ controller provides API endpoints for this.
@enduml
-A full build
+A full build (FIXME: badly out of date)
=============================================================================
Next we look at how the various components interact during a complete
@@ -352,46 +352,16 @@ Trigger build by pushing changes to git server
developer -> gitano : git push
- gitano -> IDP : GET /auth, with Basic Auth, over https
- IDP --> gitano : token C
- gitano -> trigger : POST /git/website.git (token C)
+ gitano -> controller : GET /projects/foo/+trigger (no auth)
note right
Git server notifies
- trigger service that
- a git repo has changed
+ controller that a git
+ repo has changed
end note
- |||
-
- trigger -> IDP : GET /auth, with Basic Auth, over https
- IDP --> trigger : token D
- trigger -> controller : GET /projects (token D)
- note right
- trigger service queries
- controller to get list
- of all projects, so it
- knows which builds to
- start
- end note
- controller --> trigger : list of projects
-
- |||
-
- trigger -> controller : GET /projects/website (token D)
- note right
- trigger service
- gets project config
- so it knows what
- pipelines project has
- end note
- controller --> trigger : project description, incl. pipelines
-
- |||
-
- trigger -> controller : POST /projects/website/pipelines/getsource/+start (token D)
@enduml
-The first pipeline has now been started by the trigger service.
+The project has now been marked by the controller as triggered.
Pipeline 1: get sources