Format
This commit is contained in:
parent
12b27835e6
commit
ec27a519a1
1 changed files with 22 additions and 12 deletions
|
@ -13,27 +13,37 @@ flowchart TB
|
||||||
nginx(nginx)
|
nginx(nginx)
|
||||||
serve((serve website))
|
serve((serve website))
|
||||||
user(website-user)
|
user(website-user)
|
||||||
|
generate((Generation))
|
||||||
|
app(application.yaml)
|
||||||
|
build((build website))
|
||||||
|
pull((pull website repo))
|
||||||
|
unpack((unpack website data))
|
||||||
|
exec((execute scripts))
|
||||||
|
if0{scripts exist}
|
||||||
|
|
||||||
subgraph dockerImage
|
subgraph dockerImage
|
||||||
build((build website))
|
|
||||||
pull((pull website repo))
|
|
||||||
unpack((unpack website data))
|
|
||||||
exec((execute scripts))
|
|
||||||
if0{scripts exist}
|
|
||||||
pull -- zip file --> unpack
|
pull -- zip file --> unpack
|
||||||
unpack -- website data --> if0
|
unpack -- website data --> if0
|
||||||
if0 -- yes --> exec
|
if0 -- yes --> exec
|
||||||
exec -- modified\n website data--> build
|
exec -- modified\n website data--> build
|
||||||
if0 -- no\n unmodified website data --> build
|
if0 -- no\n unmodified website data --> build
|
||||||
end
|
end
|
||||||
|
|
||||||
conf -- configuration data --> c4k
|
conf -- configuration data --> c4k
|
||||||
auth -- authorization data --> c4k
|
auth -- authorization data --> c4k
|
||||||
c4k -- container specific config &\n build specific env vars--> depl & cron
|
c4k -- auth & conf data --> generate
|
||||||
c4k -- build specific secret env vars --> sec
|
generate -- correctly placed auth & conf data --> app
|
||||||
sec -- secret env vars --> depl & cron
|
|
||||||
depl & cron -- environment vars\n from secret and c4k-website --> dockerImage
|
subgraph cluster
|
||||||
|
app -- container specific config &\n build specific env vars--> depl & cron
|
||||||
|
app -- build specific secret env vars --> sec
|
||||||
|
sec -- secret env vars --> depl & cron
|
||||||
|
depl & cron -- environment vars\n from secret and c4k-website --> dockerImage
|
||||||
|
dockerImage -- website files --> vol
|
||||||
|
vol -- website files --> nginx
|
||||||
|
nginx -- website files --> serve
|
||||||
|
end
|
||||||
|
|
||||||
repo -- build repo --> dockerImage
|
repo -- build repo --> dockerImage
|
||||||
dockerImage -- website files --> vol
|
|
||||||
vol -- website files --> nginx
|
|
||||||
nginx -- website files --> serve
|
|
||||||
serve -- rendered page --> user
|
serve -- rendered page --> user
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue