Implementing Azure DevOps Pipelines

Our Blogs

Get Course Information

Connect for information with us at info@velocityknowledge.com

How would you like to learn?*

Overview

There are many ways to implement DevOps practices like continuous integration, continuous delivery, and infrastructure as code. But Azure has a service offering called Azure DevOps that integrates well not just with Azure, but with other tools, public clouds, and even private clouds.

In this hands-on boot camp, you will build a truly practical and useful End-to-End DevOps Pipeline to create, test and deploy Chef Cookbooks through CI/CD (Continuous Integration / Continuous Deployment) using Azure Repos and Azure Pipelines. Guided by an experienced DevOps practitioner, you will automate an entire End-To-End CI/CD (Continuous Integration/Continuous Deployment) Pipeline using Azure Repos, Chef and Azure Pipelines and maintain code using Git and Azure Repos. You will also create, test and deploy Chef cookbooks through an Azure Pipelines CI/CD pipeline, including Code Linting, and Testing with Inspec and Test Kitchen.

This course can be customized to fit your specific toolchain during private onsite deliveries.

In this Azure DevOps Training Course, You Will Learn How to:

  • Write a Chef cookbook
  • Write Inspec tests for our cookbook
  • Push the cookbook to a branch within a git repo on Azure Repos
  • Configure Azure Repos and Azure Pipelines so that upon receiving the cookbook, Azure Repos will automatically trigger Azure Pipelines to download the cookbook
  • Create Azure Pipelines that automatically initiate testing the cookbook using Test Kitchen
  • Upload cookbooks that have passed your test to the Chef Infra Server
  •  Automatically trigger the Chef managed webservers, running in Azure Cloud, to converge, download the cookbooks from the Chef Infra Server and deploy the Chef cookbook.

Course Outline

Course Introduction

  • Azure Repos-Chef-Azure Pipelines: A DevOps Pipeline
  • Course Purpose
  • Agenda
  • Introductions
  • Lab Environments

Technology Overview

  • Git – Source Control Management
  • Chef – Configuration Management
  • Linting & Inspec – Cookbook Testing
  • Azure Pipelines – Continuous Integration
  • An End-To-End CI/CD (Continuous Integration/Continuous Deployment) Pipeline

Git/Azure Repos

  • Git purpose and Workflow
  • Git configuration
  • Getting help with git
  • Basic git commands
  • Remote, status, add, commit, push, log, diff
  • Creating and checking out branches
  • Creating repository in Azure Repo
  • Accessing private repos with SSH keys
  • Pull requests
  • Merging and deleting branches

Chef

  • Purpose and Use cases
  • Architecture and call flow
  • Resources, recipes & cookbooks
  • Policyfiles
  • Linting: Cookstyle and Foodcritic
  • Wrapper Cookbooks
  • Integration testing – Inspec and Test Kitchen
  • Chef Infra Server as centralized management
  • Creating a local chef-repo
  • Bootstrapping Chef-managed nodes

Azure Pipelines

  • CI/CD = Continuous Integration / Continuous Deployment
  • Purpose
  • Projects
  • Jobs
  • YAML scripting – CI/CD as Code
  • Managing credentials and secret files
  • Integrating with Source Control Management: Azure Repos
  • Triggers: Scheduled Polling and Webhooks
  • Automated cookbook linting: Foodcritic and Cookstyle
  • Automated cookbook testing with Test Kitchen
  • Azure Pipelines Integration with Chef Server
  • Creating Separate Build and Release Pipelines
  • Continuous Deployment of Chef cookbooks with Azure Pipelines

This course is also available on our public schedule via Live Virtual Classroom:

Contact us here.

 

Search