-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsequence-diagram.txt
27 lines (22 loc) · 1.07 KB
/
sequence-diagram.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
title Promotion Workflow - Developer Experience
loop Commit changes till ready for next deploy
Dev->+GitHub: Commit Code on a work branch and create PR
GitHub-->-Dev: Approval
Dev->GitHub: Merge branch to Master
end
Dev->+GitHub: Create a Release based on master
GitHub->GitHub: Trigger 'release' webhook
GitHub->-CI: Build an imaged tagged on release number
CI->GitHub: Attach Image to release (optional)
Dev->+GitHub: Update app HLD config to point to new \nimage tag and create PR to master
GitHub-->-Dev: Approval
Dev->GitHub: Merge to Master
loop repeat for all env until reaching prod
Dev->+GitHub: PR to merge current promotion env to next env\n(ie. master->dev, dev->stage, stage->prod)
GitHub->+CI: Ensure PR base & target are a whitelisted combination\n(ie. dev->stage, stage->prod)
CI-->-GitHub: Approval
GitHub-->-Dev: Approval
Dev->GitHub: Merge to next env
GitHub->+CI: Trigger `fab install && fab generate` \non all top level HLD using the app
CI->-GitHub: Push updated K8s manifests to the\npromoted branch of the manifests repo
end