Hands-on Azure DevOps
eBook - ePub

Hands-on Azure DevOps

CICD Implementation for Mobile, Hybrid, and Web Applications Using Azure DevOps and Microsoft Azure

Mitesh Soni

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Hands-on Azure DevOps

CICD Implementation for Mobile, Hybrid, and Web Applications Using Azure DevOps and Microsoft Azure

Mitesh Soni

Book details
Book preview
Table of contents
Citations

About This Book

A step-by-step guide to implementing Continuous Integration and Continuous Delivery for Mobile, Hybrid, and Web applications Key Features

  • This book covers all these practices that can be utilized in real-life scenarios with sample applications written in Java, Android, iOS, Node.js, Angular, Ionic Cordova, Xamarin, Python, and PHP.
  • This book provides detailed insight into Microsoft Azure Cloud, especially Platform as a Service Model - Azure App Services.
  • This book utilizes the Multi-Stage Pipeline Feature of Azure DevOps. Step by Step implementation of Continuous Practices of DevOps makes it easy to understand even for beginners of DevOps practices.

  • Description
    This book will cover an approach that includes the understanding of DevOps, Assessment of AS-IS state, DevOps Practices Implementation and measurement of success. The main objective is to demonstrate Continuous Practices of DevOps Culture using Microsoft Azure DevOps and Microsoft Azure Cloud across different types of applications such as Mobile apps, Hybrid Mobile App, and Web applications. The main idea is to have a uniform approach across different types of applications such as Mobile apps, Hybrid Mobile App, and Web applications. It is important to have a uniform approach of DevOps Practices implementation in an application written in different programming languages such as Java, Android, iOS, Node.js, Angular, Ionic Cordova, Xamarin, Python, and PHP. What will you learn
  • Learn to create a Multi-Stage (CICD) Pipeline for sample applications
  • Configure Unit Test Execution and Code Coverage Reports in Azure DevOps for sample applications
  • Create and configure Cloud resources using Platform as a Service Model - Azure App Services for Web Applications and deploy Web Applications to Azure App Services using Pipeline
  • Understand how to distribute Mobile App Packages (APK and IPA) to App Center

  • Who this book is for
    This book is suitable for DevOps Consultants, DevOps Evangelists, DevOps Engineers, Technical Specialists, Technical Architects, Cloud Experts, and Beginners. Table of Contents
    1. Overview of DevOps Practices
    2. DevOps Assessment – Measure the "AS-IS" Maturity
    3. DevOps Practices Implementation for Android App – Azure DevOps Pipelines
    4. DevOps Practices Implementation for iOS App – Azure DevOps Pipelines
    5. DevOps Practices Implementation for Native Apps using App Center
    6. DevOps Practices Implementation for Java App – Azure DevOps Pipelines
    7. DevOps Practices Implementation for Node.js Apps – Azure DevOps Pipelines
    8. DevOps Practices Implementation for Angular App – Azure DevOps Pipelines
    9. DevOps Practices Implementation for Python and, PHP – Azure DevOps Pipelines
    10. DevOps Practices Implementation for Hybrid Mobile App (Ionic and Xamarin) – Azure DevOps Pipeline
    11. Azure DevOps Best Practices
    12. Measure Benefits of DevOps Practices Implementations About the Author
    Mitesh is a DevOps engineer. He is in love with the DevOps culture and concept. Continuous improvement is his motto in life with existing imperfection. Mitesh has worked on multiple DevOps practices implementation initiatives. His primary focus is on the improvement of the existing culture of an organization or a project using Continuous Integration and Continuous Delivery. He believes that attitude and dedication are some of the biggest virtues that can improve professional as well as personal life! He has good experience in DevOps consulting, and he enjoys talking about DevOps and CULTURE transformation using existing practices and improving them with open source or commercial tools.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Hands-on Azure DevOps an online PDF/ePUB?
Yes, you can access Hands-on Azure DevOps by Mitesh Soni in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over one million books available in our catalogue for you to explore.

Information

Year
2020
ISBN
9789389845341

Section II

DevOps Practices Implementation using Azure DevOps, Microsoft Azure and App Center

CHAPTER 3

DevOps Practices Implementation for Android App – Azure DevOps Pipelines

Azure multi-stage pipelines provide a simple way to create a pipeline using templates as well as Branch Policies to configure Continuous Integration (CI) and Continuous Delivery (CD) pipeline for Android Applications. Azure multi-stage Pipelines provides features to add extensions such as Build Quality Checks to verify Code Coverage. We can distribute an Android application to specific group of testers or another group users using App center. The multi-stage pipelines are all about ease of use and maintainability.

Structure

In this chapter, we will discuss the following topics:
  • Azure DevOps organization
  • Multi-stage pipeline for Android app
    • Continuous Integration for Android app
    • Continuous Delivery for Android app

Objectives

After studying this unit, you should be able to:
  • Understand how to perform Lint Analysis for Android application
  • Execute unit tests
  • Calculate code coverage
  • Verify Build Quality
  • Create an APK file
  • Deploy APK to App Center
In this chapter, we will try to cover CICD for sample Android applications.

DevOps practices: Continuous Integration and Continuous Delivery

In this book, we will cover CICD implementation with Azure DevOps. We will also provide some valuable notes related to DevOps, culture, challenges, market trends, and so on for better understanding.
Azure DevOps provides Azure Boards, Azure Pipelines, Azure Repos, Azure Test Plans, Azure Artifacts, and Extensions Marketplace. Let’s start the journey. We will use different Azure DevOps services across different chapters in this book. The main objective is to provide a quick overview of CICD implementation in Azure DevOps.

Azure DevOps

We need to create an organization in the Azure DevOps before we start using Azure DevOps services.
  1. Click on Create new organization to utilize Azure DevOps services.
    Figure 3.1: Azure DevOps Organizations
  2. Click on Continue.
    Figure 3.2: Get started with Azure DevOps
  3. Provide the name of the organization and select region where you want to host your projects.
    Figure 3.3: New Organization in Azure DevOps
We have created an organization in Azure DevOps. In the next section, we will configure CICD for the Android application.

Continuous Integration and Continuous Delivery for Android application

We will create a Project first in Azure DevOps Dashboard for newly created organizations.
Figure 3.4: Organization Dashboard
  1. Provide a Project name and select the Visibility of the project.
  2. Click on Create project.
    Figure 3.5: New Project
    Once our project is ready, we can use Azure DevOps services for CICD implementation.
    Figure 3.6: Project Dashboard
  3. Click on Repos. We will need a sample application code to operate on it.
    Figure 3.7: Project Repo
In the next section, we will try to import the repository.

Impo...

Table of contents