Book description
Start thinking about your development pipeline as a mission-critical application. Discover techniques for implementing code-driven infrastructure and CI/CD workflows using Jenkins, Docker, Terraform, and cloud-native services.In Pipeline as Code, you will master:
- Building and deploying a Jenkins cluster from scratch
- Writing pipeline as code for cloud-native applications
- Automating the deployment of Dockerized and Serverless applications
- Containerizing applications with Docker and Kubernetes
- Deploying Jenkins on AWS, GCP and Azure
- Managing, securing and monitoring a Jenkins cluster in production
- Key principles for a successful DevOps culture
About the Technology
Treat your CI/CD pipeline like the real application it is. With the Pipeline as Code approach, you create a collection of scripts that replace the tedious web UI wrapped around most CI/CD systems. Code-driven pipelines are easy to use, modify, and maintain, and your entire CI pipeline becomes more efficient because you directly interact with core components like Jenkins, Terraform, and Docker.
About the Book
In Pipeline as Code you’ll learn to build reliable CI/CD pipelines for cloud-native applications. With Jenkins as the backbone, you’ll programmatically control all the pieces of your pipeline via modern APIs. Hands-on examples include building CI/CD workflows for distributed Kubernetes applications, and serverless functions. By the time you’re finished, you’ll be able to swap manual UI-based adjustments with a fully automated approach!
What's Inside
- Build and deploy a Jenkins cluster on scale
- Write pipeline as code for cloud-native applications
- Automate the deployment of Dockerized and serverless applications
- Deploy Jenkins on AWS, GCP, and Azure
- Grasp key principles of a successful DevOps culture
About the Reader
For developers familiar with Jenkins and Docker. Examples in Go.
About the Author
Mohamed Labouardy is the CTO and co-founder of Crew.work, a Jenkins contributor, and a DevSecOps evangelist.
Quotes
Configuring CI/CD platforms has never been easier!
- Ubaldo Pescatore, PagoPA
A must-read for any aspiring and seasoned devops/release automation engineer.
- Giridharan Kesavan, Visa
A very useful resource, not only for setting up and using Jenkins for CI/CD, but also for understanding the importance of Packer, Terraform, Docker, and Kubernetes.
- Kosmas Chatzimichalis, Mach7x
A perfect journey through pipeline-based software delivery.
- Satej Kumar Sahu, Honeywell
A brilliant, hands-on deep dive into how to implement modern CI/CD pipelines.
- Matthias Busch, Otto GmbH
Table of contents
- inside front cover
- Pipeline as Code
- Copyright
- brief contents
- contents
- front matter
- Part 1. Getting started with Jenkins
- 1 What’s CI/CD?
- 2 Pipeline as code with Jenkins
- Part 2. Operating a self-healing Jenkins cluster
- 3 Defining Jenkins architecture
- 4 Baking machine images with Packer
- 5 Discovering Jenkins as code with Terraform
- 6 Deploying HA Jenkins on multiple cloud providers
- Part 3. Hands-on CI/CD pipelines
- 7 Defining a pipeline as code for microservices
-
8 Running automated tests with Jenkins
- 8.1 Running unit tests inside Docker containers
- 8.2 Automating code linter integration with Jenkins
- 8.3 Generating code coverage reports
- 8.4 Injecting security in the CI pipeline
- 8.5 Running parallel tests with Jenkins
- 8.6 Improving quality with code analysis
- 8.7 Running mocked database tests
- 8.8 Generating HTML coverage reports
- 8.9 Automating UI testing with Headless Chrome
- 8.10 Integrating SonarQube Scanner with Jenkins
- Summary
- 9 Building Docker images within a CI pipeline
- 10 Cloud-native applications on Docker Swarm
- 11 Dockerized microservices on K8s
- 12 Lambda-based serverless functions
- Part 4. Managing, scaling, and monitoring Jenkins
- 13 Collecting continuous delivery metrics
-
14 Jenkins administration and best practices
- 14.1 Exploring Jenkins security and RBAC authorization
- 14.2 Configuring GitHub OAuth for Jenkins
- 14.3 Keeping track of Jenkins users’ actions
- 14.4 Extending Jenkins with shared libraries
- 14.5 Backing up and restoring Jenkins
- 14.6 Setting up cron jobs with Jenkins
- 14.7 Running Jenkins locally as a Docker container
- Summary
- Wrapping up
- index
Product information
- Title: Pipeline as Code
- Author(s):
- Release date: October 2021
- Publisher(s): Manning Publications
- ISBN: 9781617297540
You might also like
book
Terraform: Up and Running, 3rd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …
video
Clean Code Fundamentals
Expanded Edition (Updated February 2022) Updated with episodes from SOLID Principles and Advanced TDD in the …
book
Istio in Action
Solve difficult service-to-service communication challenges around security, observability, routing, and resilience with an Istio-based service mesh. …
book
Kubernetes: Up and Running, 3rd Edition
This third edition comes with a dedicated playlist of interactive Katacoda labs mapped to each section …