Book Image

Continuous Integration, Delivery, and Deployment

By : Sander Rossel
Book Image

Continuous Integration, Delivery, and Deployment

By: Sander Rossel

Overview of this book

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 (15 chapters)

Summary

In this chapter, we have looked at the most used features of Git. You should now be able to effectively control your source. There will be time when you mess up, but at least you still have source control. Git clients, such as GitHub, SourceTree, and GitKraken, all make use of the features discussed in this chapter. Whenever you click a button, one or more of the commands we have seen in this chapter will be performed in the background. Personally, I find it far easier to use a client, but I know some people who would rather use the command line (to each his own). Whatever you choose, this chapter should be a pretty good introduction. It is not until the later chapters in this book, when we are going to use Jenkins extensively, that many of the advantages of using Git and branches become apparent. In the next chapter, we will start with writing some JavaScript that we...