The DevOps Pipeline

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

**Copy the public IP address of the CI server provided on the lab page, and paste it into a new browser tab with :8080 appended to the end**.

In this hands-on lab, you will create a DevOps pipeline all the way from making a code change to deploying that change to a production environment. One of the great benefits of DevOps comes from its focus on automated pipelines, and here you will have the opportunity to try one out so you can see it in action from a hands-on perspective. After completing this hands-on lab, you should have a basic idea of what it is like to use a DevOps pipeline to change the code and get those changes into production.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Execute the initial deployment.

To accomplish this, create a pull request from the "new-feature" branch to "master" and merge it. Then, run the Jenkins build for the master branch. When the build reaches the "DeployToProd" stage, hover over it and click "Proceed."

This will cause the text on the production site to change from ‘DevOps is great!’ to ‘DevOps is awesome!’

Run the “broken” deployment.

To accomplish this, create a pull request from the "broken-feature" branch to "master" and merge it. Then, run the Jenkins build for the master branch. When the build reaches the "DeployToProd" stage, hover over it and click "Proceed."

This will cause the text on the production site to change from ‘DevOps is awesome’ to ‘DevOps is awesbfgdsfkjh!’

Roll back the broken deployment.

To do this, click on the build that you used to deploy the new-feature branch successfully, then click on "replay," and then "Run." When the build reaches the "DeployToProd" stage, hover over it and click "Proceed."

This will cause the text on the production site to change from ‘DevOps is awesbfgdsfkjh!’ back to ‘DevOps is awesome!’

Additional Resources

Note: You will need a GitHub.com account in order to complete this exercise.

In this hands-on lab, you will perform a series of deployments using a sample DevOps pipeline.

Sample application source in GitHub: https://github.com/linuxacademy/devops-essentials-sample-app

You will need the public IP addresses listed here once your lab servers start up.

Follow the walkthrough video or the hands-on lab guide to see a simple DevOps pipeline in action!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?