Anthanh PRO
I ♥ the web, technologies and....beers! Co-founder of https://etereo.io
MASMOVIL TECHNOLOGY
Icons made by Eucalyp from www.flaticon.com is licensed by CC 3.0 BY
ENVIRONMENTS
GIT
AGILE
Developer point of view
PRO
STA
DEV
CAN
master
DEV integration
3º parties unstable
x.y.z-rc.w
ENV stable
QA validation
3º parties unstable
x.y.z
x.y.z-sta.w
Weird internal prod
No used mostly
FEAT
feat/* hotfix/*
Code Review Validation
Points to "any" environment
PRO
STA
DEV
master
Stable environment
3º parties DEV|mocks
x.y.z-rc.w
Internal Prod
QA certification
x.y.z
v1
v1
v2
canary
feature branch
Short live environment
Code Review validation
Acceptance criteria validation
Critical E2E (optional)
Lives inside DEV Environment
feat/branch-2
x.y.z-rc.1
x.y.z
master
feat/branch-1
hotfix/branch-1
release/1.y.z
PULL REQUEST!!!
x.y.z-rc.2
squash+merge
Every commit at master could become a release!
TRUNK-BASED WORKFLOW
MASTER HISTORY READABLE
PULL REQUEST OVERVIEW
what
how can I test it?
user history
definition of production ready ( DoPR)
automated checks
commit format
branch format
TODO
DOING
CR
BV
DEPLOY
QA
QA
E2E
QA Hooks
TODO
TODO
Backlog refinement
During the current sprint
Backlog feedback
TODO
Sprint start
Grooming
Sprint end
Find the way that best suits you! |
What the new value does?
Why we need this?
Acceptance criteria
Needed resources to get it done
Divide and conquer
TODO
TODO
S
M
L
XL
XS
2
3
5
8
1
TODO
S
M
L
XL
XS
2
3
5
8
1
Instant: commit, push & ship it!
TODO
S
M
L
XL
XS
2
3
5
8
1
Instant but requires workflow validation (PR, test, validation, release, deploy, ...)
TODO
S
M
L
XL
XS
2
3
5
8
1
Can be done in one sprint
TODO
S
M
L
XL
XS
2
3
5
8
1
Estimated by effort not time!
Discussion > Estimation
DOING
CODE REVIEW
CODE REVIEW
DEFINITION OF PRODUCTION READY
CODE REVIEW
VALIDATIONS
Dedicated squad that continuously test all our products
Runs the E2E on any product
Triggered every staging deployment
QA HOOKS
DEPLOY
TODO
DOING
CR
BV
DEPLOY
QA
QA
E2E
QA Hooks
DoR
DoD
https://es.atlassian.com/git/tutorials/comparing-workflows
https://es.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow
https://medium.com/palantir/code-review-best-practices-19e02780015f
https://nvie.com/posts/a-successful-git-branching-model/
https://medium.com/@patrickporto/4-branching-workflows-for-git-30d0aaee7bf
https://www.endoflineblog.com/gitflow-considered-harmful
https://www.nomachetejuggling.com/2017/04/09/a-different-branching-strategy/
https://hackernoon.com/gitflow-is-a-poor-branching-model-hack-d46567a156e7
https://hackernoon.com/still-using-gitflow-what-about-a-simpler-alternative-74aa9a46b9a3
https://www.toptal.com/software/trunk-based-development-git-flow
https://guides.github.com/introduction/flow/
https://blogs.technet.microsoft.com/devops/2016/06/21/a-git-workflow-for-continuous-delivery/
https://docs.gitlab.com/ee/workflow/gitlab_flow.html
https://about.gitlab.com/2014/09/29/gitlab-flow/
https://www.endoflineblog.com/oneflow-a-git-branching-model-and-workflow
https://trunkbaseddevelopment.com/
MASMOVIL TECHNOLOGY
@anthanh | #frontend-general | #tech-chat
By Anthanh
How we manage business value from definition to production
I ♥ the web, technologies and....beers! Co-founder of https://etereo.io