SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Downloaden Sie, um offline zu lesen
Nov 2019
TDC
Como fazemos deploys no
Nubank
Nov 2019
TDC
Erick Mattos
Eng. Software
erickrmattos
Allan David
Eng. Software
allanbrados
Nov 2019
TDC
Agenda
◆ Contexto
◆ Definições
◆ Nosso fluxo de trabalho
◆ Validações em Pull Request
◆ Depois da Integração
◆ Deploying
◆ Um problema aconteceu, e agora?
◆ Perguntas
Nov 2019
TDC
Contexto
Nov 2019
TDC
Sobre o Nubank
➔ > 350 devs
➔ > 300 serviços
➔ > 100 deploys por dia
➔ < 20 minutos em média
Nov 2019
TDC
Definições
Nov 2019
TDC
CI/CD/CD
➔ Continuous integration
➔ Continuous delivery
➔ Continuous deployment
Nov 2019
TDC
Shards
Shard 1 Shard 2 Shard 3 Shard 4
Nov 2019
TDC
Nosso fluxo de trabalho
Nov 2019
TDC
��💻
��💻
Abrir Pull
Request
Validações
no PR
Peer review
Merge Deploy ��
Nov 2019
TDC
Validações em Pull Request
Em Pull Requests usamos CircleCI
Nov 2019
TDC
Validações
Nov 2019
TDC
Depois da Integração
Depois do merge, antes do deploy: GoCD
Nov 2019
TDC
VSM
Value Stream Map
M
a
t
e
r
i
a
l
Conceitos de GoCD
Pipeline
Step
Job
Job
Step
Job
Job
Pipeline
Step
Job
Job
Step
Job
Job
P
u
b
l
i
s
h
A
r
t
i
f
a
c
t
Nov 2019
TDC
GoCD concepts
Nov 2019
TDC
Depois do merge, antes do deploy
Nov 2019
TDC
Pipeline de
Artifact
GIT - Build war
- Checks
- Deps-tree
- Midje
- Postman
- Sachem
Build and Test Publish
- Publish
Material Artifact
Arquivo
.WAR
Nov 2019
TDC
Pipeline de
Container
- Build
Build
Material Artifact
Arquivo
.WAR
Imagem
Docker
Nov 2019
TDC
Pipeline de
Publish
- Publish
Publish
Material Artifact
Imagem
Docker
Quay.io
tag
Nov 2019
TDC
Pipeline de Container e Publish
➔ Por que não são apenas uma?
Nov 2019
TDC
Deploying
Nov 2019
TDC
Agora podemos fazer o deploy
Nov 2019
TDC
Pipeline de
to-staging
- Promote
(kubernets
cluster)
Promote
Material Artifact
Quay.io
tag
Quay.io
tag
Nov 2019
TDC
Pipeline de to-staging
➔ Como saber se o deploy aconteceu?
Nov 2019
TDC
Pipeline de
to-prod
Collect-versions
Canary
Promote
Material
Quay.io
tag
Nov 2019
TDC
to-prod pipeline - Canary step
➔ Origem do nome
➔ O que é e porque?
➔ Como nós fazemos
Nov 2019
TDC
to-prod pipeline - Promote step
➔ Deployment
◆ Rolling update
Nov 2019
TDC
Um problema aconteceu, e agora?
Nov 2019
TDC
Um bug em produção
➔ Stop the bleeding
◆ Rollout
◆ Rollback
◆ Hot deploy
◆ Revert
Nov 2019
TDC
Um bug em produção
➔ Stop the bleeding
◆ Rollout
◆ Rollback
◆ Hot deploy
◆ Revert
Nov 2019
TDC
Rollback
Nov 2019
TDC
Rollback
Nov 2019
TDC
Um bug em produção
➔ Stop the bleeding
◆ Rollout
◆ Rollback
◆ Hot deploy
◆ Revert
Nov 2019
TDC
Um bug em produção
➔ Stop the bleeding
◆ Rollout
◆ Rollback
◆ Hot deploy
◆ Revert
Nov 2019
TDC
Obrigado!
Erick Mattos
Eng. Software
erickrmattos
Allan David
Eng. Software
allanbrados
Nov 2019
TDC
Perguntas?
Sugestão de leitura
https://bit.ly/37Fjx0U

Weitere ähnliche Inhalte

Was ist angesagt?

XP Day: Using cost of delay – Joshua Arnold
XP Day: Using cost of delay – Joshua ArnoldXP Day: Using cost of delay – Joshua Arnold
XP Day: Using cost of delay – Joshua Arnold
Joshua Arnold
 
Remote PI Planning Tips & Tricks - Agile en Seine 2020
Remote PI Planning Tips & Tricks - Agile en Seine 2020Remote PI Planning Tips & Tricks - Agile en Seine 2020
Remote PI Planning Tips & Tricks - Agile en Seine 2020
Agile En Seine
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of Agile
AgileSparks
 
What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013
Richard P. Doerer
 

Was ist angesagt? (20)

Agile Principles, Agile People
Agile Principles, Agile PeopleAgile Principles, Agile People
Agile Principles, Agile People
 
XP Day: Using cost of delay – Joshua Arnold
XP Day: Using cost of delay – Joshua ArnoldXP Day: Using cost of delay – Joshua Arnold
XP Day: Using cost of delay – Joshua Arnold
 
Remote PI Planning Tips & Tricks - Agile en Seine 2020
Remote PI Planning Tips & Tricks - Agile en Seine 2020Remote PI Planning Tips & Tricks - Agile en Seine 2020
Remote PI Planning Tips & Tricks - Agile en Seine 2020
 
12 Agile Principles in Pictures
12 Agile Principles in Pictures12 Agile Principles in Pictures
12 Agile Principles in Pictures
 
Kaizen solution by S.M.JUNAID
Kaizen solution by S.M.JUNAIDKaizen solution by S.M.JUNAID
Kaizen solution by S.M.JUNAID
 
Scrum Simulation with LEGO, Agile Game
Scrum Simulation with LEGO, Agile GameScrum Simulation with LEGO, Agile Game
Scrum Simulation with LEGO, Agile Game
 
Henrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of AgileHenrik Kniberg - Essence of Agile
Henrik Kniberg - Essence of Agile
 
Tugas.2 ms project .2013
Tugas.2  ms project .2013Tugas.2  ms project .2013
Tugas.2 ms project .2013
 
Agile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik KnibergAgile Everywhere! - Henrik Kniberg
Agile Everywhere! - Henrik Kniberg
 
Notre vie apres SAFe
Notre vie apres SAFeNotre vie apres SAFe
Notre vie apres SAFe
 
Agile And Scum In a Nutshell
Agile And Scum In a NutshellAgile And Scum In a Nutshell
Agile And Scum In a Nutshell
 
Scrum and JIRA
Scrum and JIRAScrum and JIRA
Scrum and JIRA
 
Workshop Fit for Purpose - WUD Rio 2019
Workshop Fit for Purpose - WUD Rio 2019Workshop Fit for Purpose - WUD Rio 2019
Workshop Fit for Purpose - WUD Rio 2019
 
What happens to engineering manager in agile world
What happens to engineering manager in agile worldWhat happens to engineering manager in agile world
What happens to engineering manager in agile world
 
Gestão Ágil - O RH mais estratégico
Gestão Ágil - O RH mais estratégicoGestão Ágil - O RH mais estratégico
Gestão Ágil - O RH mais estratégico
 
Adoptando y escalando la agilidad en corporaciones
Adoptando y escalando la agilidad en corporacionesAdoptando y escalando la agilidad en corporaciones
Adoptando y escalando la agilidad en corporaciones
 
What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013What is-agile henrik kniberg august 20 2013
What is-agile henrik kniberg august 20 2013
 
Beyond the Spotify Model - Team Topologies - Tech.rocks - 2020-12-10 - Matthe...
Beyond the Spotify Model - Team Topologies - Tech.rocks - 2020-12-10 - Matthe...Beyond the Spotify Model - Team Topologies - Tech.rocks - 2020-12-10 - Matthe...
Beyond the Spotify Model - Team Topologies - Tech.rocks - 2020-12-10 - Matthe...
 
Developer Experience no Nubank
Developer Experience no NubankDeveloper Experience no Nubank
Developer Experience no Nubank
 
Agile scrum roles
Agile scrum rolesAgile scrum roles
Agile scrum roles
 

Ähnlich wie Como fazemos deploys no nubank

Technical and organizational obstacles when introducing Data in Motion to you...
Technical and organizational obstacles when introducing Data in Motion to you...Technical and organizational obstacles when introducing Data in Motion to you...
Technical and organizational obstacles when introducing Data in Motion to you...
confluent
 

Ähnlich wie Como fazemos deploys no nubank (20)

Why do you Need to Migrate to Salesforce Flow?, Andrew Cook
Why do you Need to Migrate to Salesforce Flow?, Andrew CookWhy do you Need to Migrate to Salesforce Flow?, Andrew Cook
Why do you Need to Migrate to Salesforce Flow?, Andrew Cook
 
Measure and Accelerate Your Software Delivery
Measure and Accelerate Your Software DeliveryMeasure and Accelerate Your Software Delivery
Measure and Accelerate Your Software Delivery
 
DevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente RotterdamDevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente Rotterdam
 
Executing the Digital Strategy
Executing the Digital StrategyExecuting the Digital Strategy
Executing the Digital Strategy
 
Partner Briefing_January 25 (FINAL).pptx
Partner Briefing_January 25 (FINAL).pptxPartner Briefing_January 25 (FINAL).pptx
Partner Briefing_January 25 (FINAL).pptx
 
Xoriant CDi Data As Service Webinar - Part 1
Xoriant CDi Data As Service Webinar - Part 1Xoriant CDi Data As Service Webinar - Part 1
Xoriant CDi Data As Service Webinar - Part 1
 
DevOps KPIs as a Service: Daimler’s Solution
DevOps KPIs as a Service: Daimler’s SolutionDevOps KPIs as a Service: Daimler’s Solution
DevOps KPIs as a Service: Daimler’s Solution
 
Technical and organizational obstacles when introducing Data in Motion to you...
Technical and organizational obstacles when introducing Data in Motion to you...Technical and organizational obstacles when introducing Data in Motion to you...
Technical and organizational obstacles when introducing Data in Motion to you...
 
12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis
 
Getting Demo & POV Ready
Getting Demo & POV ReadyGetting Demo & POV Ready
Getting Demo & POV Ready
 
BA and Beyond 20 - Elke Steegmans and David Vandenbroeck - Behaviour-driven d...
BA and Beyond 20 - Elke Steegmans and David Vandenbroeck - Behaviour-driven d...BA and Beyond 20 - Elke Steegmans and David Vandenbroeck - Behaviour-driven d...
BA and Beyond 20 - Elke Steegmans and David Vandenbroeck - Behaviour-driven d...
 
Cloud Repatriation - Big Data & AI Toronto Conference 2020
Cloud Repatriation - Big Data & AI Toronto Conference 2020Cloud Repatriation - Big Data & AI Toronto Conference 2020
Cloud Repatriation - Big Data & AI Toronto Conference 2020
 
April Partner Bootcamp 2022
April Partner Bootcamp 2022April Partner Bootcamp 2022
April Partner Bootcamp 2022
 
SRE & Kubernetes
SRE & KubernetesSRE & Kubernetes
SRE & Kubernetes
 
Edinburgh Revit User Group - BIM Level 2 to LOD Presentation
Edinburgh Revit User Group - BIM Level 2 to LOD PresentationEdinburgh Revit User Group - BIM Level 2 to LOD Presentation
Edinburgh Revit User Group - BIM Level 2 to LOD Presentation
 
Starting and Scaling Devops
Starting and Scaling Devops Starting and Scaling Devops
Starting and Scaling Devops
 
Starting and Scaling DevOps
Starting and Scaling DevOpsStarting and Scaling DevOps
Starting and Scaling DevOps
 
Keys to a successful SharePoint intranet - ECM101 - SharePoint Fest 2015
Keys to a successful SharePoint intranet - ECM101 - SharePoint Fest 2015Keys to a successful SharePoint intranet - ECM101 - SharePoint Fest 2015
Keys to a successful SharePoint intranet - ECM101 - SharePoint Fest 2015
 
Supercharging Optimizely Performance by Moving Decisions to the Edge
Supercharging Optimizely Performance by Moving Decisions to the EdgeSupercharging Optimizely Performance by Moving Decisions to the Edge
Supercharging Optimizely Performance by Moving Decisions to the Edge
 
System Center Service Manager for incident and change management
System Center Service Manager for incident and change managementSystem Center Service Manager for incident and change management
System Center Service Manager for incident and change management
 

Kürzlich hochgeladen

Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 

Kürzlich hochgeladen (20)

Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
How to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdfHow to Design and spec harmonic filter.pdf
How to Design and spec harmonic filter.pdf
 
Introduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and ApplicationsIntroduction to Heat Exchangers: Principle, Types and Applications
Introduction to Heat Exchangers: Principle, Types and Applications
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Karkardooma Phone No 9999965857 High Profile ℂall Girl Delhi N...
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Lesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxLesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsx
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Quiz application system project report..pdf
Quiz application system project report..pdfQuiz application system project report..pdf
Quiz application system project report..pdf
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 

Como fazemos deploys no nubank