Continuous Integration, Delivery, and Deployment

Getting started with the processes and the tools to continuously deliver high-quality software
Preview in Mapt

Continuous Integration, Delivery, and Deployment

Sander Rossel

2 customer reviews
Getting started with the processes and the tools to continuously deliver high-quality software
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Continuous Integration, Delivery, and Deployment Book Cover
Continuous Integration, Delivery, and Deployment
$ 35.99
$ 25.20
Jenkins 2.x Continuous Integration Cookbook - Third Edition Book Cover
Jenkins 2.x Continuous Integration Cookbook - Third Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781787286610
Paperback458 pages

Book Description

The challenge faced by many teams while implementing Continuous Deployment is that it requires the use of many tools and processes that all work together. Learning and implementing all these tools (correctly) takes a lot of time and effort, leading people to wonder whether it's really worth it. This book sets up a project to show you the different steps, processes, and tools in Continuous Deployment and the actual problems they solve.

We start by introducing Continuous Integration (CI), deployment, and delivery as well as providing an overview of the tools used in CI. You'll then create a web app and see how Git can be used in a CI environment. Moving on, you'll explore unit testing using Jasmine and browser testing using Karma and Selenium for your app. You'll also find out how to automate tasks using Gulp and Jenkins. Next, you'll get acquainted with database integration for different platforms, such as MongoDB and PostgreSQL. Finally, you'll set up different Jenkins jobs to integrate with Node.js and C# projects, and Jenkins pipelines to make branching easier.

By the end of the book, you'll have implemented Continuous Delivery and deployment from scratch.

Table of Contents

Chapter 1: Continuous Integration, Delivery, and Deployment Foundations
Continuous Integration
Continuous Delivery
Continuous Deployment
Summary
Chapter 2: Setting Up a CI Environment
Installing a Virtual Machine
Installing Git
Installing Jenkins
Installing PostgreSQL
Installing SonarQube
Summary
Chapter 3: Version Control with Git
The basics
Branching
Reverting changes
The branching model
Summary
Chapter 4: Creating a Simple JavaScript App
The web shop specs
Installing Node.js and npm
Creating the project
Creating the Home page
Creating the Product page
Creating the Search page
Creating the Shopping cart page
Summary
Chapter 5: Testing Your JavaScript
Unit testing with Jasmine
Testing the web shop
Running tests with Karma
End-To-End testing with Selenium
Headless browser testing
Summary
Chapter 6: Automation with Gulp
Gulp basics
Gulp plugins
Running your Karma tests
Getting our site production ready
Putting it all together
Summary
Chapter 7: Automation with Jenkins
Installing Node.js and npm
Creating a Jenkins project
Executing Gulp in Jenkins
Publishing test results
Build triggers
Setting up email notifications
Setting up SonarQube
Artifacts
Running on Windows with Jenkins Slaves
Summary
Chapter 8: A NodeJS and MongoDB Web App
Installing MongoDB
Creating the Node.js Back-end
The Login Page
Saving to MongoDB
Moving the Shopping Cart Module
Gulp
Jenkins
Summary
Chapter 9: A C# .NET Core and PostgreSQL Web App
Installing .NET Core and Visual Studio Code
Creating the views
Running tasks
Adding the database
Fixing the login
Testing the database
Testing our C# code
Adding Selenium tests
Jenkins
Summary
Chapter 10: Additional Jenkins Plugins
Views
Cleanup workspaces
Conditional build steps
Pipelines
Promoted builds
Parameterized builds
Triggering builds remotely
Blue ocean
Security
Summary
Chapter 11: Jenkins Pipelines
Groovy
Pipeline projects
The Jenkinsfile
Multibranch pipeline
Completing the script
Summary
Chapter 12: Testing a Web API
Building a REST service
Postman
Newman
Summary
Chapter 13: Continuous Delivery
Branching
Manual deployment
Summary
Chapter 14: Continuous Deployment
JavaScript Deployment using SSH
C# .NET Core Deployment using SSH
Database
Summary

What You Will Learn

  • Get to know all the aspects of Continuous Integration, Deployment, and Delivery
  • Find out how Git can be used in a CI environment
  • Set up browser tests using Karma and Selenium and unit tests using Jasmine
  • Use Node.js, npm, and Gulp to automate tasks such as linting, testing, and minification
  • Explore different Jenkins jobs to integrate with Node.js and C# projects
  • Perform Continuous Delivery and Deployment using Jenkins
  • Test and deliver a web API

Authors

Table of Contents

Chapter 1: Continuous Integration, Delivery, and Deployment Foundations
Continuous Integration
Continuous Delivery
Continuous Deployment
Summary
Chapter 2: Setting Up a CI Environment
Installing a Virtual Machine
Installing Git
Installing Jenkins
Installing PostgreSQL
Installing SonarQube
Summary
Chapter 3: Version Control with Git
The basics
Branching
Reverting changes
The branching model
Summary
Chapter 4: Creating a Simple JavaScript App
The web shop specs
Installing Node.js and npm
Creating the project
Creating the Home page
Creating the Product page
Creating the Search page
Creating the Shopping cart page
Summary
Chapter 5: Testing Your JavaScript
Unit testing with Jasmine
Testing the web shop
Running tests with Karma
End-To-End testing with Selenium
Headless browser testing
Summary
Chapter 6: Automation with Gulp
Gulp basics
Gulp plugins
Running your Karma tests
Getting our site production ready
Putting it all together
Summary
Chapter 7: Automation with Jenkins
Installing Node.js and npm
Creating a Jenkins project
Executing Gulp in Jenkins
Publishing test results
Build triggers
Setting up email notifications
Setting up SonarQube
Artifacts
Running on Windows with Jenkins Slaves
Summary
Chapter 8: A NodeJS and MongoDB Web App
Installing MongoDB
Creating the Node.js Back-end
The Login Page
Saving to MongoDB
Moving the Shopping Cart Module
Gulp
Jenkins
Summary
Chapter 9: A C# .NET Core and PostgreSQL Web App
Installing .NET Core and Visual Studio Code
Creating the views
Running tasks
Adding the database
Fixing the login
Testing the database
Testing our C# code
Adding Selenium tests
Jenkins
Summary
Chapter 10: Additional Jenkins Plugins
Views
Cleanup workspaces
Conditional build steps
Pipelines
Promoted builds
Parameterized builds
Triggering builds remotely
Blue ocean
Security
Summary
Chapter 11: Jenkins Pipelines
Groovy
Pipeline projects
The Jenkinsfile
Multibranch pipeline
Completing the script
Summary
Chapter 12: Testing a Web API
Building a REST service
Postman
Newman
Summary
Chapter 13: Continuous Delivery
Branching
Manual deployment
Summary
Chapter 14: Continuous Deployment
JavaScript Deployment using SSH
C# .NET Core Deployment using SSH
Database
Summary

Book Details

ISBN 139781787286610
Paperback458 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Jenkins 2.x Continuous Integration Cookbook - Third Edition Book Cover
Jenkins 2.x Continuous Integration Cookbook - Third Edition
$ 39.99
$ 28.00
Learning Continuous Integration with Jenkins - Second Edition Book Cover
Learning Continuous Integration with Jenkins - Second Edition
$ 35.99
$ 25.20
DevOps with Kubernetes Book Cover
DevOps with Kubernetes
$ 39.99
$ 28.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 16.80
ASP.NET Core 2 and Angular 5 Book Cover
ASP.NET Core 2 and Angular 5
$ 35.99
$ 25.20
Architecting Modern Java EE Applications Book Cover
Architecting Modern Java EE Applications
$ 39.99
$ 28.00