SlideShare a Scribd company logo
1 of 26
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
N OV E M B E R 1 2 , 2 0 2 0
Giulio Vian
Pipeline Your Pipelines
(Automate Your
Automation)!
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Hardware spec:
1 KB RAM
(16KB after upgrade)
4 KB ROM
(8KB after upgrade)
First computerPast Companies Communities
Giulio Vian Senior DevOps Engineer
Past Communities
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
What if I lose my build
infrastructure?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Can I deploy fixes
in production?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
What if I lose my build
infrastructure?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Can I rebuild an old
version?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
What is a
development environment?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
What is an
development environment?
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Only environments you
can rebuild
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Bricks, mortar
& a plan
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Usefulness scale
Source
code
Keys Deploy
data
Testing
data
Build data Build
infrastructure
Precious Disposable
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Infrastructure as Code
Version
Control
Secrets
Store
Infrastructure
Pipeline
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Version
Control
Secrets
Store
Run-time
Infrastructure
Version
Control
Secrets
Store
CI/CD
Infrastructure
Version
Control
Secrets
Store
Application
Run-time
Fractal
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Demo
time
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Backup
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Benefits
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Less chores
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Sense of accomplishment
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Learn new technology
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
Remove fear of change
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
The more you automate,
the more everything
becomes production
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
http://blog.casavian.eu/tags/pipelines/
https://github.com/giuliov/pipeline-your-pipelines
https://github.com/actions/virtual-environments
https://github.com/microsoft/azure-pipelines-image-generation
https://www.mikaelkrief.com/private-azure-devops-agent/
https://wouterdekort.com/2018/02/25/build-your-own-hosted-vsts-agent-cloud-
part-1-build/
https://blogs.blackmarble.co.uk/rfennell/2019/12/21/creating-hyper-v-hosted-azure-
devops-private-agents-based-on-the-same-vm-images-as-used-by-microsoft-for-
their-hosted-agents/
https://medium.com/velotio-perspectives/using-packer-and-terraform-to-setup-
jenkins-master-slave-architecture-7bcc4b014874
Links
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
THANK YOU TO OUR SPONSORS
T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G

More Related Content

Similar to Pipeline your Pipelines - 2020 All Day DevOps

Similar to Pipeline your Pipelines - 2020 All Day DevOps (20)

Architecting your IT career
Architecting your IT careerArchitecting your IT career
Architecting your IT career
 
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalH2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
 
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
 
Tesla sf tm
Tesla sf tmTesla sf tm
Tesla sf tm
 
Tesla y Dassault Systèmes unidos de la mano
Tesla y Dassault Systèmes unidos de la manoTesla y Dassault Systèmes unidos de la mano
Tesla y Dassault Systèmes unidos de la mano
 
Salesforce DX の始め方とパートナー様成功事例
Salesforce DX の始め方とパートナー様成功事例Salesforce DX の始め方とパートナー様成功事例
Salesforce DX の始め方とパートナー様成功事例
 
The Angular road from 1.x to 2.0
The Angular road from 1.x to 2.0The Angular road from 1.x to 2.0
The Angular road from 1.x to 2.0
 
Interaction and interoperability between Creative Commons and open source lic...
Interaction and interoperability between Creative Commons and open source lic...Interaction and interoperability between Creative Commons and open source lic...
Interaction and interoperability between Creative Commons and open source lic...
 
Building out a Global Data delivery platform - the business and technical use...
Building out a Global Data delivery platform - the business and technical use...Building out a Global Data delivery platform - the business and technical use...
Building out a Global Data delivery platform - the business and technical use...
 
Angular server side rendering with NodeJS - In Pursuit Of Speed
Angular server side rendering with NodeJS - In Pursuit Of SpeedAngular server side rendering with NodeJS - In Pursuit Of Speed
Angular server side rendering with NodeJS - In Pursuit Of Speed
 
What every C++ programmer should know about modern compilers (w/o comments, A...
What every C++ programmer should know about modern compilers (w/o comments, A...What every C++ programmer should know about modern compilers (w/o comments, A...
What every C++ programmer should know about modern compilers (w/o comments, A...
 
Meteor - not just for rockstars
Meteor - not just for rockstarsMeteor - not just for rockstars
Meteor - not just for rockstars
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14
 
Azure: Finding Success Beyond Test/Dev
Azure: Finding Success Beyond Test/DevAzure: Finding Success Beyond Test/Dev
Azure: Finding Success Beyond Test/Dev
 
Learning to Sell to Engineers
Learning to Sell to EngineersLearning to Sell to Engineers
Learning to Sell to Engineers
 
Canary Deployments on Amazon EKS with Istio - SRV305 - Chicago AWS Summit
Canary Deployments on Amazon EKS with Istio - SRV305 - Chicago AWS SummitCanary Deployments on Amazon EKS with Istio - SRV305 - Chicago AWS Summit
Canary Deployments on Amazon EKS with Istio - SRV305 - Chicago AWS Summit
 
Strangler Pattern in practice @PHPers Day 2019
Strangler Pattern in practice @PHPers Day 2019Strangler Pattern in practice @PHPers Day 2019
Strangler Pattern in practice @PHPers Day 2019
 
React Native "A Bad Idea Or A Game Changer" at Code Mania 101
React Native "A Bad Idea Or A Game Changer" at Code Mania 101React Native "A Bad Idea Or A Game Changer" at Code Mania 101
React Native "A Bad Idea Or A Game Changer" at Code Mania 101
 
JDD 2016 - Bartosz Majsak - Meet The Assertable Chaos Monkeys
JDD 2016 - Bartosz Majsak - Meet The Assertable Chaos Monkeys JDD 2016 - Bartosz Majsak - Meet The Assertable Chaos Monkeys
JDD 2016 - Bartosz Majsak - Meet The Assertable Chaos Monkeys
 

More from Giulio Vian

More from Giulio Vian (20)

Come implementare la governance nella vostra piattaforma e lavorare felici se...
Come implementare la governance nella vostra piattaforma e lavorare felici se...Come implementare la governance nella vostra piattaforma e lavorare felici se...
Come implementare la governance nella vostra piattaforma e lavorare felici se...
 
Is Technical Debt the right metaphor for Continuous Update?
Is Technical Debt the right metaphor for Continuous Update?Is Technical Debt the right metaphor for Continuous Update?
Is Technical Debt the right metaphor for Continuous Update?
 
Software rotting - DevOpsCon Berlin
Software rotting - DevOpsCon BerlinSoftware rotting - DevOpsCon Berlin
Software rotting - DevOpsCon Berlin
 
Software rotting
Software rottingSoftware rotting
Software rotting
 
Software rotting - 28 Apr - DeveloperWeek Europe 2022
Software rotting - 28 Apr - DeveloperWeek Europe 2022Software rotting - 28 Apr - DeveloperWeek Europe 2022
Software rotting - 28 Apr - DeveloperWeek Europe 2022
 
L'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOpsL'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOps
 
L'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOpsL'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOps
 
A map for DevOps on Microsoft Stack - MS DevSummit
A map for DevOps on Microsoft Stack - MS DevSummitA map for DevOps on Microsoft Stack - MS DevSummit
A map for DevOps on Microsoft Stack - MS DevSummit
 
Perché è così difficile il deploy dei database - DevCast DevOps Serie
Perché è così difficile il deploy dei database  - DevCast DevOps SeriePerché è così difficile il deploy dei database  - DevCast DevOps Serie
Perché è così difficile il deploy dei database - DevCast DevOps Serie
 
Database deployments - dotnetsheff
Database deployments - dotnetsheffDatabase deployments - dotnetsheff
Database deployments - dotnetsheff
 
Database deployment: still hard after all these years - Data Saturday #1
Database deployment: still hard after all these years - Data Saturday #1Database deployment: still hard after all these years - Data Saturday #1
Database deployment: still hard after all these years - Data Saturday #1
 
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
 
Top 10 pipeline mistakes - dotnetsheff
Top 10 pipeline mistakes - dotnetsheffTop 10 pipeline mistakes - dotnetsheff
Top 10 pipeline mistakes - dotnetsheff
 
Introduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavorIntroduction to Terraform with Azure flavor
Introduction to Terraform with Azure flavor
 
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
 
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
 
Pipeline your pipelines!
Pipeline your pipelines!Pipeline your pipelines!
Pipeline your pipelines!
 
Why is DevOps vital for my company’s business
Why is DevOps vital for my company’s businessWhy is DevOps vital for my company’s business
Why is DevOps vital for my company’s business
 
Introduzione a GitHub Actions (beta)
Introduzione a GitHub Actions (beta)Introduzione a GitHub Actions (beta)
Introduzione a GitHub Actions (beta)
 
Terraform for Azure Quickstart
Terraform for Azure QuickstartTerraform for Azure Quickstart
Terraform for Azure Quickstart
 

Recently uploaded

%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Recently uploaded (20)

Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 

Pipeline your Pipelines - 2020 All Day DevOps

  • 1. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G N OV E M B E R 1 2 , 2 0 2 0 Giulio Vian Pipeline Your Pipelines (Automate Your Automation)!
  • 2. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Hardware spec: 1 KB RAM (16KB after upgrade) 4 KB ROM (8KB after upgrade) First computerPast Companies Communities Giulio Vian Senior DevOps Engineer Past Communities
  • 3. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G What if I lose my build infrastructure?
  • 4. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Can I deploy fixes in production?
  • 5. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
  • 6. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G What if I lose my build infrastructure?
  • 7. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Can I rebuild an old version?
  • 8. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G
  • 9. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G What is a development environment?
  • 10. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G What is an development environment?
  • 11. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Only environments you can rebuild
  • 12. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Bricks, mortar & a plan
  • 13. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Usefulness scale Source code Keys Deploy data Testing data Build data Build infrastructure Precious Disposable
  • 14. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Infrastructure as Code Version Control Secrets Store Infrastructure Pipeline
  • 15. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Version Control Secrets Store Run-time Infrastructure Version Control Secrets Store CI/CD Infrastructure Version Control Secrets Store Application Run-time Fractal
  • 16. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Demo time
  • 17. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Backup
  • 18. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Benefits
  • 19. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Less chores
  • 20. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Sense of accomplishment
  • 21. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Learn new technology
  • 22. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G Remove fear of change
  • 23. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G The more you automate, the more everything becomes production
  • 24. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G http://blog.casavian.eu/tags/pipelines/ https://github.com/giuliov/pipeline-your-pipelines https://github.com/actions/virtual-environments https://github.com/microsoft/azure-pipelines-image-generation https://www.mikaelkrief.com/private-azure-devops-agent/ https://wouterdekort.com/2018/02/25/build-your-own-hosted-vsts-agent-cloud- part-1-build/ https://blogs.blackmarble.co.uk/rfennell/2019/12/21/creating-hyper-v-hosted-azure- devops-private-agents-based-on-the-same-vm-images-as-used-by-microsoft-for- their-hosted-agents/ https://medium.com/velotio-perspectives/using-packer-and-terraform-to-setup- jenkins-master-slave-architecture-7bcc4b014874 Links
  • 25. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G THANK YOU TO OUR SPONSORS
  • 26. T R A C K : C I / C D C O N T I N U O U S E V E R Y T H I N G

Editor's Notes

  1. Welcome everyone to my session “Pipeline Your Pipelines” during which we will discuss how to automate your automation My name is Giulio Vian
  2. (A few words about yours truly) I worked for some companies over the years in quite a few different roles, now I work for Unum, a Fortune 500 insurance company. Recognised by Microsoft with the Most Valuable Professional award in the last 5 years, I like to help communities throughout Europe. When I started coding, assembler was not an uber-geek oddity.
  3. What if I lose my build infrastructure, temporarily or permanently?
  4. Am I able to deploy fixes in production? Can I answer to audit request? and to security which is analyzing an attack and wants to know if binaries were tampered? Oh, you say, it won’t happen to me, I am safe, I do not have my CI on premises, we do use a service…
  5. I am safe, I do not have my CI on premises, we do use a service… well, a few things may go wrong anyway Other things may happen to your CI/CD
  6. What if I lose my build infrastructure, because we retired that old machine and lost that exact version of JDK or Visual Studio installer? Will I be able to…
  7. …reconstruct an old software version for an investigation? Your company may be subject to law and regulation If you sell shrink-wrapped software, you may face a customer who hasn’t upgraded in years. Some IoT scenario is similar to shrink-wrapped, old hardware lingering in customers’ premises that you still have to test and patch. Oh, you say, it won’t happen to me, I am safe, I do not have my CI on premises, we do use a service…
  8. Again, even if you use a service, there is no guarantee that older version will stick around. Here is just a couple of announcements. Hope you agree with me that development environments…
  9. … are required for coders, thus they are production for them! Developers can forgive short interruptions but not for long: Continuous Integration, quality scan, Continuous Delivery, test environments… These are all front and center of modern development. So we must tweak the question to…
  10. What is an environment, tout court? A simple definition can be: An IT subsystem that is daily used by a group so the real distinction between environments lies on the fact that …
  11. …you can rebuild them or not. The photographs portrait the XII (twelfth) century palace in my hometown. It was destroyed by bombs during the second World War (1944). As you see, it was rebuilt. This should be our goal: being able to rebuild our CI/CD environment whenever needed. What you need for rebuilding?
  12. You need a few elements, some elements are concrete, like bricks and mortal, while other elements are virtual, like the blueprint and know-how. This applies in the software world, just like in the physical world.
  13. If you analyze the components that make up a CI/CD system, you can lay them on a scale. On one extreme, we have source code repositories: most businesses will shut down if they are lost. They holds your application code but also all build, test and deployment scripts. On the other extreme, the build infrastructure – e.g. the build agents/executors - should be treated as a disposable element. What means rebuilding in this context?
  14. at the core we find Infrastructure as Code. Note the crucial role of source code and secret keys to build infrastructure. The people icon on top represent both the bootstrap process and the authorization activity. This is the foundation pattern which…
  15. …is kind of recursive. To bootstrap, we use the source code for IaC and a hand-built CI infrastructure. Through that we produce the CI/CD infrastructure that is required by all other processes. The next step use CI/CD to build and update the infrastructure that is needed by applications. Finally, we can build the application deployment packages and push them through CD to get back all our systems back modulo data restore.
  16. I think you are now bored enough of chat, so let’s see something
  17. If you have fully scripted your CI/CD infrastructure, you need only the source code and secrets to rebuild it. Backups are absolutely crucial but you already know this.
  18. Now, I want to hint at a few positive side-effects of scripting everything.
  19. Life becomes easier: for example when a new version of Node or JDK or .NET is out, clone and edit the Dockerfile and the pipeline script. With the push of a button you make it available to your developers. Also, recycle often your agents/workers to guarantee that builds do not rely on a previous run.
  20. Your build and deploy infrastructure is finally documented. Celebrate and sleep well.
  21. If your engineers are not familiar with Docker & Kubernetes, this is a good chance for learning.
  22. Now, you rebuild your CI/CD infrastructure on any cloud provider. More options for that disaster recovery plan.
  23. Wrapping up. Back in time when you released every quarter, few noticed when your Jenkins was down unless it happened during that release window. Nowadays, you are urged to deploy more often, which requires more automation. And the more you release, the more CI/CD become crucial.
  24. A few pointers that you can leverage to implement the ideas expressed in my presentation.
  25. Thanks to the sponsors and all people that worked on the backstage to make this event successful.
  26. This is my final word