SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
Continuous
Integration,
Delivery and
Deployment
2.
Mār$ņš
Ķemme
IT
professional
with
a
focus
on
process
management
and
configura$on
management.
h>p://mar$nskemme.wordpress.com/
@mar$nskemme
Mar$ns.Kemme@ebit.lv
3.
• Configuration management
• Builds
• Delivery and deployment
• Continuous integration
• Continuous delivery
• DevOps
• What does it take to build and maintain
a quality product?
4.
can build
“You can’t test quality into a
product”.
6.
Number of
continuous activities
done throughout the project
and after project go-live.
7.
Continuous Integration
• Build product
– It still builds after my last commit, right?
• Run tests
– Run all tests, all environments
– Run experimental merges and test them
• Run code quality tools
– Style checks
– Security checks
– Test coverage
8.
Managerial Aspects of CI
• Ensuring that quality is high enough to be
ready to release product at any time
• See build history
– General info about product stability
• Having CI set-up is like a warranty that
automation is on a reasonably high
level
9.
More on CI
• Tools: no big difference
• A handy tool to help to deploy…
10.
Deployment frequency as well as
deployment complexity urges for
automation
11.
Continuous Deployment
Ability to deploy fast and without
errors
• Prerequisites
– Build automation
– Infrastructure provisioning automation
– Deployment automation
– Rollback automation
– Data migration
13.
Infrastructure As Code
• Server and network configuration is described via
code/configuration
• Server configuration shares other characteristics of
code as well, e.g. it is stored in source control.
• Perform as many infrastructure tasks as possible
programmatically, including
– Monitor the situation
– Get history
– Set up
– Allocate resources to applications
14.
Continuous Deployment
key goal and benefit:
reduced risk
15.
Reduced Risk
• Smaller deployments (small package)
• Incremental
• Automated
– Easy deployment (low cost)
– Easy rollback (low risk)
• Decouple your deployments from the act
of taking a feature live
16.
Continuous Deployment
• CD is an approach of delivering software
that reduces the cost, time and risk of
delivering incremental changes to users
• Business benefit: increased throughput
17.
CD Focus Areas
• Software releasability (over new features)
• Feedback on the production readiness
• Capability to deploy easily and
automatically
18.
CD Enablers
Quick deployments should be made
possible
• Architecture is important
– should not be monolithic (must be modular)
– API boundaries, OLAs between modules
• Unfinished features
– Feature toggles
19.
Continuous Integration and
Continuous Deployments
lead us to the
DevOps
20.
DevOps is a software development method that
stresses communication, collaboration and
integration between software developers and
information technology(IT) professionals.
DevOps is a response to the interdependence of
software development and IT operations. It
aims to help an organization rapidly produce
software products and services.
-Wikipedia
26.
• Benefit of monitoring for product
development
– How much time people stay on a particular
page?
– What features people use?
• Continuous integration is used
continuously
• Continuous deployments
27.
Lessons Learned From the Case
• Monitoring shall target both technical
aspects and application (business-domain)
metrics
• Some measurements are immediately
actionable, some not
• Information instantly available to anyone
• Deployments must be quick and
transparent
28.
Takeaway
Automate
Communication
Business value