Chaminda Chandrasekara and Pushpa Herath

Hands-on Azure Pipelines

Understanding Continuous Integration and Deployment in Azure DevOps

1st ed.
Chaminda Chandrasekara
Dedigamuwa, Sri Lanka
Pushpa Herath
Hanguranketha, Sri Lanka
ISBN 978-1-4842-5901-6e-ISBN 978-1-4842-5902-3
© Chaminda Chandrasekara and Pushpa Herath 2020
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, express or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

Let this book be a daily reference guide for all the teams who use Azure Pipelines.

Introduction

Demand for automation in the software delivery process has gone from an optional standpoint to a mandatory, essential, and integral requirement. To keep up with Agility in software development teams, there needs to be rapid and consistent software deployment methodology for development and operations teams to work together to ensure successful and fail-safe delivery of a software product to each target environment. It is essential to even provision infrastructure with automated code before deploying a software on a new environment to guarantee that all the required dependencies are set up before deploying software applications.

Azure Pipelines, which is the Continuous Integration and Deployment (CI/CD) tool in Azure DevOps, supports building, packaging, and deployment of software projects, developed with any language targeting any platform. It comes with a rich feature set that can be extended with various extensions, developed by Microsoft as well as third-party vendors and also community experts. If one cannot find an extension to do the job with Azure Pipelines, he or she can extend Azure Pipeline capabilities easily, due to its extensibility as well as readily available samples and templates for implementing such extensions.

Hands-on Azure Pipelines will take you through a journey with concepts of CI/CD and Azure Pipeline features and capabilities, while giving you a complete explanation of using each feature to implement the automation of your software project delivery using a consistent and robust approach. The book will highlight the capabilities in Azure Pipelines to build software developed in any platform and language, using Microsoft-hosted Windows, Linux, and MacOS agents, as well as giving you guidance on how to set up your own build environments with all three platforms. You will find hands-on guidance lessons to understand how almost each and every feature works in Azure Pipelines, including the latest YAML-based configuration and pipeline as code examples.

In addition to the exploration of existing features, the book will take you through the steps of extending Azure Pipelines, with additional tasks from the marketplace as well as implementing your own feature extensions, utilizing the Azure DevOps REST API . Hands-on Azure Pipelines will provide you with recommended build and release patterns to implement with Azure Pipelines and give you guidance on setting up artifacts and versioning for your release packages.

Acknowledgments

We are thankful for all the mentors who have encouraged and helped us during our careers and who have provided us with so many opportunities to gain the maturity and the courage we needed to write this book.

We would also like to thank our friends and colleagues who have helped and encouraged us in so many ways.

Last, but in no way least, we owe a huge debt to our families. Not only because they have put up with late-night typing, research, and our permanent air of distraction, but also because they have had the grace to read what we have written. Our heartfelt gratitude is offered to them for helping us make this dream come true.

Table of Contents
Index 199
About the Authors
Chaminda Chandrasekara
../images/493403_1_En_BookFrontmatter_Figb_HTML.jpg

is a Microsoft Most Valuable Professional (MVP) for Visual Studio ALM and Scrum Alliance Certified ScrumMaster®, and he focuses on and believes in continuous improvement of the software development life cycle. He works as a senior engineer – DevOps at Xamariners, Singapore. Chaminda is an active Microsoft Community Contributor (MCC) who is well recognized for his contributions in Microsoft forums, TechNet galleries, wikis, and Stack Overflow; and he contributes extensions to Azure DevOps Server and Services (former VSTS/TFS) in the Microsoft Visual Studio Marketplace. He also contributes to other open source projects in GitHub. Chaminda has published five books with Apress.

 
Pushpa Herath
../images/493403_1_En_BookFrontmatter_Figc_HTML.jpg

is a DevOps engineer at Xamariners. She has many years of experience in Azure DevOps Server and Services (formerly VSTS/TFS), Azure Cloud Platform, and QA Automation. She is an expert in DevOps currently leading the DevOps community in Sri Lanka, and she has shown in-depth knowledge in Azure Cloud Platform tools in her community activities. Pushpa has published three books with Apress and spoken at community events as well as in the YouTube channel of her Sri Lanka DevOps community.

 
About the Technical Reviewer
Mittal Mehta
../images/493403_1_En_BookFrontmatter_Figd_HTML.jpg

has a total of fifteen years of IT experience. Currently, he is working as a configuration manager. He also has experience working in TFS, C#, Navision, build-release, Azure DevOps, and in the automation and configuration area of Microsoft Technologies for the last eight years.

 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.65.65