CI/CD Pipeline with Docker and Jenkins: Learn How to Build and Manage Your CI/CD Pipelines Effectively
- Length: 220 pages
- Edition: 1
- Language: English
- Publisher: BPB Publications
- Publication Date: 2023-01-12
- ISBN-10: 935551350X
- ISBN-13: 9789355513502
- Sales Rank: #2137150 (See Top 100 Books)
A Practical Guide to Mastering Modern-day Software Development
Key Features
- Leverage the power of Docker for faster deployment and migrations.
- Learn how to create a Continuous Integration pipeline in Jenkins.
- Get familiar with different types of deployments in Continuous Delivery.
Description
‘CI/CD Pipeline with Docker and Jenkins’ is the right mix of narrative, concepts, and real-life implementation. The book focuses on the CI/CD maturity journey of a team from a DevOps perspective.
The book takes you on a CI/CD journey of a project, starting from identifying the challenges faced by the team and how the team uses CI as a first step to overcome the problems. Moving on, the book explains how the team matures via the Jenkins shared library and Dockerization. The later part of the book covers the next journey, where the DevOps team decides to introduce CD to mature the DevOps practices of the project further. Here, the book explains how the DevOps team learns about the various implementations of CD and applies them via Jenkins. Given that there are multiple technologies to cover, the journey starts from the simplest one and slowly goes on to higher concepts ensuring that you follow the right learning path.
To keep things in perspective, a sample project has been included with the book, and all the concepts of CI/CD are implemented in it. You can work with it, test out different scenarios, and can refer to them for your projects.
What you will learn
- Design a CI implementation plan in terms of Pre and Post Deployment integration checks.
- Learn how to run your CI/CD jobs in Docker containers.
- Understand how CI and CD work together end to end to achieve modern software delivery goals.
- Design and implement a very comprehensive CI process of any stack on any platform.
- Assess and identify the CD requirements of a project and architect the right CD solution.
Who this book is for
This book is for current and aspiring tech professionals, students, and anyone who wishes to build a career in DevOps. At the same time, it will also prove essential to existing engineers and project owners looking to streamline their DevOps practices with industry standards, specifically the CI/CD part.
Cover Page Title Page Copyright Page Dedication Page About the Author About the Reviewer Acknowledgement Preface Errata Table of Contents 1. Introduction Structure Objectives Character Introduction Sprint-1 Retrospection Light of Hope Conclusion Questions 2. Continuous Integration Introduction Structure Objectives Set up Pre-deployment Checks Code stability Code Quality Testing, Code Coverage, and Security Testing Intermediate operations Artifact management DB Versioning Post-deployment integrations Smoke testing Regression testing API testing Notifications Branching strategy Conclusion Points to Remember Multiple Choice Questions Answers Questions Key Terms 3. Introduction to Jenkins Structure Objectives Tooling landscape Available toolset VCS Integrated Pipelines Software as a Service Self-Hosted CI/CD Tools Why Jenkins? Jenkins installation Installation on Linux (Debian) Installation on Windows Ansible Plugins Installation Web UI Jenkins-CLI HPI Files (Without internet) Simple Plugins Source code management (Git) User Interface Administration Build Management Notification Authentication and authorization Authentication Authorization Recommendation Jenkins Pipeline Scripted vs Declarative Pipeline Terms Pipeline Node Stage Steps Parallel Shared Library Examples CI/CD Workflow Management Infrastructure Management What If the Server Gets Deleted? Backup Configuration Restoration Second line of safety (Data Directory Backup and Restore) Third line of safety (Jenkins Server Image) Master/Slave architecture JNLP Slaves SSH Slaves Dynamic Slaves Scenarios Global tool configuration Conclusion Points to Remember Multiple choice questions Answers Questions Key terms 4. CI with Jenkins Structure Objectives CI Pipeline with Pre-Deployment Integration Checks Code Checkout Code Stability Code Quality Unit Testing Security Testing Sonarqube Integration Converting Multibranch Pipeline CI Pipeline update with Intermediate steps Generating Artifacts Uploading Artifacts to Nexus Deployment to Dev Environment DB Update CI Pipeline with Notification Integration Conclusion Questions 5. Introduction to Docker Structure Objectives Need for containerization What and why containers? Virtualization What is a Container? Why Container? Container Engines Docker Basics Docker architecture Docker Images Dockerfile Multistage Dockerfile Docker Registry Docker CLI Docker Installation (Debian System) Conclusion 6. CI with Jenkins and Docker Structure Objectives Containerization of application CI Pipeline with Pre-Deployment Integration Checks Code Stability Code Quality Unit Testing Code Coverage Security Testing Conclusion 7. Continuous Deployment Structure Objectives Different Kinds of Environments QA environment Security testing environment Performance Testing Environment Business Testing Environment CD Testing Elements Regression Testing Behavior Driven Development testing Security Testing OWASP ZAP API Testing Performance Testing Jmeter Deployment Strategies Normal Deployment Rolling/Ramped Deployment Blue Green deployment Canary Deployment Conclusion 8. Continuous Deployment Using Jenkins Structure Objectives Deployment strategy discussion Continuous Deployment for QA Environment (Normal Deployment) Continuous Deployment for Security Environment (Rolling Deployment) Continuous Deployment for Performance Environment (Blue/Green Deployment) Continuous Deployment for UAT Environment (Canary Deployment) Continuous Deployment for Production Environment (Canary Deployment) Reflection Conclusion Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.