SlideShare a Scribd company logo
4
Most read
5
Most read
9
Most read
DevOps and Git Basics
Sourabh Saxena
DevOps
DevOps is a Organizational cultural shift
• Operations traditionally seeks STABILITY
• Developers traditionally seeks CHANGE
• Testers traditionally seeks REDUCE RISKS
How to accomplish DevOps ?
• Strong interdepartmental communication
• Team Building
Why DevOps ?
Inefficiencies existed in both development and operations
• Operations used inefficient tools .
• Developers didn't control the infrastructure .
What was needed ?
• Operations needed to leverage more efficient developer tools .
• Developers needed to manage their own infrastructure .
Terminology
Term Description
Continuous Integration
A method of finding software issues early within the development cycle and ensuring that all the
parts of the overall platform are integrated to each other correctly .
Continuous Delivery
A method of delivering fully working and tested software in small incremental chunks to the
production platform .
DevOps
A way of working that encourages Development and Operations teams to work together in a highly
collaborative way towards Continuous Delivery.
Definition of Done
A change to the platform (software, hardware , infrastructure and so on) is live and used by
customers .
Release (candidate ) A single code drop to a given environment (testing , staging ,production and so on)
Continuous Integration ,Continuous Delivery and DevOps
• Continuous Integration (CI) : Key component of modern develop ment practices
• Continuous Delivery (CD) provides tools and best practices to deliver quality software
quickly
DevOps Framework : Extend Continuous Delivery
Deployment
Continuous Integration
Source
control
Dev
Environment
Configuration Mgmt
Monitoring
Issue Tracking
Collaboration
Pattern Dev Ops
Collaboration Teams work together,
regardless of location
Source Control Store Project code and access
in controlled way
Ensure that configuration data
is with project code
Dev Environment Access development ,reduce
setup time and inconsistencies
Issue Tracking Raise responsiveness and
visibility
Continuous Integration Instant feedback by merging
code regularly
Deployment Build projects and update
systems regularly with new
builds
Build target environments with
respective configuration data
Planning Build transparency to stakeholders always (culture tenet)
Configuration Mgmt Enforce desired state and
consistency at scale
Monitoring Shared responsibility for relevant parts of
application/environment health
Planning
DevOps Life Cycle
• Continuous
Rather than ending when the code is “live” , the cycle continues by monitoring the
current release and working toward the next .
START
BUILD TEST
RELEASE
DEPLOYOPERATEMONITOR
PLAN
CODE
Configuration Management
Scripts
• Install.sh
• Setup.sh
• Etc. ..
Test Changes
• Unit test
• Integration test
• Pre-production
• Environment
production
Documentation
• Changes
• Release notes
• Modify wiki
• Version control
(git)
Images
• Golden Images
• Snapshots
• Provisioning
• Access
credentials
Deployments
• Golden Images
• Snapshots
• Provisioning
• Access
credentials
Continuous Integration and Delivery Pipeline
Push Feature Branch
to Git
Linting ,Unit Testing ,
Integration testing
Pass / Approve
Changes
Merge to Master ,
Distribute Changes
Update
Environments ,Push
to Production
What is Git ?
• A Distributed version control system
• Characteristics :
Speed
Simple Design
Fully Distributed
Can handle large projects efficiently
Supports non-linear development
Requires local file and resources only
Section of a Git Project
• There are three main sections of Git Project :
Git Directory
Working Directory
Staging Area
State of files in Git
•Files is Git can be in any of the following states –
Committed
Staged
Modified
Basic Git Operations
• Initialize a new repository in an existing project or Directory or clone
an existing repository from another server
• Start and stop file tracking
• Stage and commit changes
• Set up Git to ignore certain files and file patterns
• Undo mistakes
• Browse history of your project
• View changes between commit
• Push and Pull from remote repositories
Git Workflow
Create or
modify files
Add files to
commit
Commit
Pull from
Remote
Push to
Remote
Ignore files
using
.gitignore
Check Status
Check
Status
Thanks …

More Related Content

PDF
Welcome to Azure Devops
Alessandro Scardova
 
PPTX
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Simplilearn
 
PPTX
DevOps introduction
Mettje Heegstra
 
PPTX
Devops online training ppt
KhalidQureshi31
 
PPTX
Intro to Azure DevOps
Lorenzo Barbieri
 
PDF
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
Edureka!
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
Welcome to Azure Devops
Alessandro Scardova
 
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Simplilearn
 
DevOps introduction
Mettje Heegstra
 
Devops online training ppt
KhalidQureshi31
 
Intro to Azure DevOps
Lorenzo Barbieri
 
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
Edureka!
 
Gitlab ci, cncf.sk
Juraj Hantak
 

What's hot (20)

PDF
DevOps overview 2019-04-13 Nelkinda April Meetup
Shweta Sadawarte
 
PPTX
Introduction to CI/CD
Steve Mactaggart
 
PPTX
Azure DevOps Best Practices Webinar
Cambay Digital
 
PDF
Azure DevOps - Azure Guatemala Meetup
Guillermo Zepeda Selman
 
PPTX
Jenkins Introduction
Pavan Gupta
 
PPTX
Dev ops != Dev+Ops
Shalu Ahuja
 
PDF
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
PDF
DevOps introduction
Sridhara T V
 
PDF
DevOps for beginners
Pradeep Patel, PMP®
 
PPTX
Introduction to DevOps
Hawkman Academy
 
PDF
CI with Gitlab & Docker
Joerg Henning
 
PPTX
Jenkins for java world
Ashok Kumar
 
PPTX
Introduction to Azure DevOps
Lorenzo Barbieri
 
PPTX
Tour of Azure DevOps
Callon Campbell
 
PPTX
Jenkins CI
Viyaan Jhiingade
 
PPTX
CI/CD on AWS
Bhargav Amin
 
PDF
DevOps and AWS
Shiva Narayanaswamy
 
PDF
Introduction to CICD
Knoldus Inc.
 
PDF
Understanding DevOps
InnoTech
 
DevOps overview 2019-04-13 Nelkinda April Meetup
Shweta Sadawarte
 
Introduction to CI/CD
Steve Mactaggart
 
Azure DevOps Best Practices Webinar
Cambay Digital
 
Azure DevOps - Azure Guatemala Meetup
Guillermo Zepeda Selman
 
Jenkins Introduction
Pavan Gupta
 
Dev ops != Dev+Ops
Shalu Ahuja
 
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
DevOps introduction
Sridhara T V
 
DevOps for beginners
Pradeep Patel, PMP®
 
Introduction to DevOps
Hawkman Academy
 
CI with Gitlab & Docker
Joerg Henning
 
Jenkins for java world
Ashok Kumar
 
Introduction to Azure DevOps
Lorenzo Barbieri
 
Tour of Azure DevOps
Callon Campbell
 
Jenkins CI
Viyaan Jhiingade
 
CI/CD on AWS
Bhargav Amin
 
DevOps and AWS
Shiva Narayanaswamy
 
Introduction to CICD
Knoldus Inc.
 
Understanding DevOps
InnoTech
 
Ad

Similar to Devops and git basics (20)

PPTX
DevOps Training for Modern Software Development .
CBitss Technologies
 
PPTX
DevOps Overview in my own words
SUBHENDU KARMAKAR
 
PPTX
DevOps Online Training | DevOps Training Institute in Hyderabad
ranjithvisualpath44
 
PPTX
DEVOPS-UNIT-I-DEVOPS-INTRO-ROLES,PRINIPLES
SoundharyaSubramania1
 
PPTX
Devops Mindset Essentials
Willy-Peter Schaub
 
PDF
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
AnikeyRoy
 
PPTX
DevOps model in software engineering.pptx
RenyJose3
 
PPTX
26.1a.Introduction to DEVOPS_v2.pptx
Panos Fitsilis
 
PPTX
Testing in the new age of DevOps
Moataz Mahmoud
 
PPTX
DevOps - Motivadores e Benefícios
Flávio Secchieri Mariotti
 
PDF
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
Tara Walker
 
PDF
Patterns and Practices of a Successful DevOps Transformation
Chef
 
PPTX
AWS DevOps Training - AWS DevOps Course Online Hyderabad.pptx
ranjithvisualpath44
 
PPTX
Introducing DevOps
Nishanth K Hydru
 
PDF
The Journey to DevOps #MFSummit2017
Micro Focus
 
PPTX
DevOps_service.pptx
phamvinhcntt
 
PPTX
ASDC_Unit notes reva University wing yel-4-2.pptx
HanithCg
 
PDF
SQL Server DevOps Jumpstart
Ori Donner
 
PDF
DevOps, from inception to conclusion
Abhishek Gaurav
 
PDF
DevOps for absolute beginners (2022 edition)
Ahmed Misbah
 
DevOps Training for Modern Software Development .
CBitss Technologies
 
DevOps Overview in my own words
SUBHENDU KARMAKAR
 
DevOps Online Training | DevOps Training Institute in Hyderabad
ranjithvisualpath44
 
DEVOPS-UNIT-I-DEVOPS-INTRO-ROLES,PRINIPLES
SoundharyaSubramania1
 
Devops Mindset Essentials
Willy-Peter Schaub
 
Building an In-House DevOps Service Platform for Mobility Solutions | Mindtree
AnikeyRoy
 
DevOps model in software engineering.pptx
RenyJose3
 
26.1a.Introduction to DEVOPS_v2.pptx
Panos Fitsilis
 
Testing in the new age of DevOps
Moataz Mahmoud
 
DevOps - Motivadores e Benefícios
Flávio Secchieri Mariotti
 
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
Tara Walker
 
Patterns and Practices of a Successful DevOps Transformation
Chef
 
AWS DevOps Training - AWS DevOps Course Online Hyderabad.pptx
ranjithvisualpath44
 
Introducing DevOps
Nishanth K Hydru
 
The Journey to DevOps #MFSummit2017
Micro Focus
 
DevOps_service.pptx
phamvinhcntt
 
ASDC_Unit notes reva University wing yel-4-2.pptx
HanithCg
 
SQL Server DevOps Jumpstart
Ori Donner
 
DevOps, from inception to conclusion
Abhishek Gaurav
 
DevOps for absolute beginners (2022 edition)
Ahmed Misbah
 
Ad

Recently uploaded (20)

PPTX
AIRLINE PRICE API | FLIGHT API COST |
philipnathen82
 
PDF
Solar Panel Installation Guide – Step By Step Process 2025.pdf
CRMLeaf
 
PPTX
Audio Editing and it's techniques in computer graphics.pptx
fosterbayirinia3
 
DOCX
The Five Best AI Cover Tools in 2025.docx
aivoicelabofficial
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PPTX
Materi_Pemrograman_Komputer-Looping.pptx
RanuFajar1
 
PPTX
AZ900_SLA_Pricing_2025_LondonIT (1).pptx
chumairabdullahph
 
PDF
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
PDF
Build Multi-agent using Agent Development Kit
FadyIbrahim23
 
PDF
Why Use Open Source Reporting Tools for Business Intelligence.pdf
Varsha Nayak
 
PPTX
introduction to dart --- Section one .pptx
marknaiem92
 
PPT
Order to Cash Lifecycle Overview R12 .ppt
nbvreddy229
 
PDF
The Future of Smart Factories Why Embedded Analytics Leads the Way
Varsha Nayak
 
PPTX
Presentation of Computer CLASS 2 .pptx
darshilchaudhary558
 
PPTX
Why Use Open Source Reporting Tools for Business Intelligence.pptx
Varsha Nayak
 
PDF
Emergency Mustering solutions – A Brief overview
Personnel Tracking
 
PDF
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
RanuFajar1
 
PDF
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 
AIRLINE PRICE API | FLIGHT API COST |
philipnathen82
 
Solar Panel Installation Guide – Step By Step Process 2025.pdf
CRMLeaf
 
Audio Editing and it's techniques in computer graphics.pptx
fosterbayirinia3
 
The Five Best AI Cover Tools in 2025.docx
aivoicelabofficial
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Materi_Pemrograman_Komputer-Looping.pptx
RanuFajar1
 
AZ900_SLA_Pricing_2025_LondonIT (1).pptx
chumairabdullahph
 
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Build Multi-agent using Agent Development Kit
FadyIbrahim23
 
Why Use Open Source Reporting Tools for Business Intelligence.pdf
Varsha Nayak
 
introduction to dart --- Section one .pptx
marknaiem92
 
Order to Cash Lifecycle Overview R12 .ppt
nbvreddy229
 
The Future of Smart Factories Why Embedded Analytics Leads the Way
Varsha Nayak
 
Presentation of Computer CLASS 2 .pptx
darshilchaudhary558
 
Why Use Open Source Reporting Tools for Business Intelligence.pptx
Varsha Nayak
 
Emergency Mustering solutions – A Brief overview
Personnel Tracking
 
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
Materi-Enum-and-Record-Data-Type (1).pptx
RanuFajar1
 
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 

Devops and git basics

  • 1. DevOps and Git Basics Sourabh Saxena
  • 2. DevOps DevOps is a Organizational cultural shift • Operations traditionally seeks STABILITY • Developers traditionally seeks CHANGE • Testers traditionally seeks REDUCE RISKS How to accomplish DevOps ? • Strong interdepartmental communication • Team Building
  • 3. Why DevOps ? Inefficiencies existed in both development and operations • Operations used inefficient tools . • Developers didn't control the infrastructure . What was needed ? • Operations needed to leverage more efficient developer tools . • Developers needed to manage their own infrastructure .
  • 4. Terminology Term Description Continuous Integration A method of finding software issues early within the development cycle and ensuring that all the parts of the overall platform are integrated to each other correctly . Continuous Delivery A method of delivering fully working and tested software in small incremental chunks to the production platform . DevOps A way of working that encourages Development and Operations teams to work together in a highly collaborative way towards Continuous Delivery. Definition of Done A change to the platform (software, hardware , infrastructure and so on) is live and used by customers . Release (candidate ) A single code drop to a given environment (testing , staging ,production and so on)
  • 5. Continuous Integration ,Continuous Delivery and DevOps • Continuous Integration (CI) : Key component of modern develop ment practices • Continuous Delivery (CD) provides tools and best practices to deliver quality software quickly
  • 6. DevOps Framework : Extend Continuous Delivery Deployment Continuous Integration Source control Dev Environment Configuration Mgmt Monitoring Issue Tracking Collaboration Pattern Dev Ops Collaboration Teams work together, regardless of location Source Control Store Project code and access in controlled way Ensure that configuration data is with project code Dev Environment Access development ,reduce setup time and inconsistencies Issue Tracking Raise responsiveness and visibility Continuous Integration Instant feedback by merging code regularly Deployment Build projects and update systems regularly with new builds Build target environments with respective configuration data Planning Build transparency to stakeholders always (culture tenet) Configuration Mgmt Enforce desired state and consistency at scale Monitoring Shared responsibility for relevant parts of application/environment health Planning
  • 7. DevOps Life Cycle • Continuous Rather than ending when the code is “live” , the cycle continues by monitoring the current release and working toward the next . START BUILD TEST RELEASE DEPLOYOPERATEMONITOR PLAN CODE
  • 8. Configuration Management Scripts • Install.sh • Setup.sh • Etc. .. Test Changes • Unit test • Integration test • Pre-production • Environment production Documentation • Changes • Release notes • Modify wiki • Version control (git) Images • Golden Images • Snapshots • Provisioning • Access credentials Deployments • Golden Images • Snapshots • Provisioning • Access credentials Continuous Integration and Delivery Pipeline Push Feature Branch to Git Linting ,Unit Testing , Integration testing Pass / Approve Changes Merge to Master , Distribute Changes Update Environments ,Push to Production
  • 9. What is Git ? • A Distributed version control system • Characteristics : Speed Simple Design Fully Distributed Can handle large projects efficiently Supports non-linear development Requires local file and resources only
  • 10. Section of a Git Project • There are three main sections of Git Project : Git Directory Working Directory Staging Area
  • 11. State of files in Git •Files is Git can be in any of the following states – Committed Staged Modified
  • 12. Basic Git Operations • Initialize a new repository in an existing project or Directory or clone an existing repository from another server • Start and stop file tracking • Stage and commit changes • Set up Git to ignore certain files and file patterns • Undo mistakes • Browse history of your project • View changes between commit • Push and Pull from remote repositories
  • 13. Git Workflow Create or modify files Add files to commit Commit Pull from Remote Push to Remote Ignore files using .gitignore Check Status Check Status