Book Image

The DevOps 2.4 Toolkit

By : Viktor Farcic
Book Image

The DevOps 2.4 Toolkit

By: Viktor Farcic

Overview of this book

Building on The DevOps 2.3 Toolkit: Kubernetes, Viktor Farcic brings his latest exploration of the Docker technology as he records his journey to continuously deploying applications with Jenkins into a Kubernetes cluster. The DevOps 2.4 Toolkit: Continuously Deploying Applications with Jenkins to a Kubernetes Cluster is the latest book in Viktor Farcic’s series that helps you build a full DevOps Toolkit. This book guides readers through the process of building, testing, and deploying applications through fully automated pipelines. Within this book, Viktor will cover a wide-range of emerging topics, including an exploration of continuous delivery and deployment in Kubernetes using Jenkins. It also shows readers how to perform continuous integration inside these clusters, and discusses the distribution of Kubernetes applications, as well as installing and setting up Jenkins. Work with Viktor and dive into the creation of self-adaptive and self-healing systems within Docker.
Table of Contents (12 chapters)
9
Now It Is Your Turn

Creating a Jenkins job that upgrades the whole production environment

Before we upgrade the production environment, we'll create one more release of go-demo-5 so that we have something new to deploy.

 1  open
"http://$JENKINS_ADDR/blue/organizations/jenkins/go-demo-5/branches"

We opened the branches screen of the go-demo-5 job.

Please click the play button from the right side of the master row and wait until the new build is finished.

Lo and behold! Our build failed! If you explore the job in detail, you will know why it's broken.

You'll see Did you forget to increment the Chart version? message.

Figure 8-3: go-demo-5 failed build

Our job does not allow us to push a commit to the master branch without bumping the version of the go-demo-5 chart. That way, we guarantee that every production-ready release is versioned correctly. Let's fix that.

...