278
pages
English
Ebooks
2020
Vous pourrez modifier la taille du texte de cet ouvrage
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
Découvre YouScribe en t'inscrivant gratuitement
Découvre YouScribe en t'inscrivant gratuitement
278
pages
English
Ebooks
2020
Vous pourrez modifier la taille du texte de cet ouvrage
Obtenez un accès à la bibliothèque pour le consulter en ligne En savoir plus
Publié par
Date de parution
03 septembre 2020
Nombre de lectures
8
EAN13
9789389845358
Langue
English
Publié par
Date de parution
03 septembre 2020
Nombre de lectures
8
EAN13
9789389845358
Langue
English
Hands-on Azure DevOps
CICD Implementation for Mobile, Hybrid, and Web Applications Using Azure DevOps and Microsoft Azure
by
Mitesh Soni
FIRST EDITION 2020
Copyright © BPB Publications, India
ISBN: 978-93-89845-341
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
Dedicated to
Dada, Dadi, Shreyu, Mummy-Papa, Jigi-Nitesh, Priyanka, Ruby & Mummy-Papa, Mayur, and Vinay Kher
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 on DevOps consulting and he enjoys talking about DevOps and CULTURE transformation using existing practices and improving them with open source or commercial tools.
Mitesh always believes that DevOps is a cultural transformation and it is facilitated by People, Processes and Tools. DevOps transformation is a tools agnostic approach. He loves to give training and share knowledge with community. He has a keen knowledge of programming, and he is aware of different languages/frameworks/platforms such as Java, Android, iOS, NodeJS, Angular. His main objective is to get enough information related to the project in a way that it is helpful in creating an end to end automation pipeline.
In his leisure time, he likes to walk in the Garden, to click photographs, and to go cycling. He prefers to spend time in peaceful places. His favorite tool / services for DevOps Practices implementation is Azure DevOps and Jenkins in commercial and open-source categories, respectively.
Acknowledgement
Anna Taylor said, “Some people arrive and make such a beautiful impact on your life, you can barely remember what life was like without them.” Ruby, thank you for being there. YOU are responsible for my “peace of mind.” Thank you for inspiring me and for pushing me to do the right things always and being there in some really difficult times. Your presence made my life easier in tough times. Every life has an amazing story, thank you for being part of one of the BEST stories of my life. Feeling gratitude and not expressing it is like wrapping a present and not giving it … Thank you!
I would like to thank Jigi-Nitesh, Masi-Malav, my family members, Daksh-Parul Didi-Amit Jiju, Apoorva-Saurabh, Mayank Bhai & Bhabhi, Navrang, Dharmesh, Akkusss, Nalini and her Family, Anupama-Mihir and Priyanka-Hemant, Rohini, Yohan, Radhika, her Parents & Mukund, Ramya-Srivats, Radhika’s all cousins, Piyushi, Prajakta – Keep Singing, Priyanka S, Gauri, Mitul, Kanak, Bapu, Vimal, Ashish, Bhavna, Amit R, Vijay, Rinka, Parinda, Arpita & her Family, Kim and Yaashi, Jai Jamba, Nitesh, Munal, Jyotiben, Niralee-Khushboo, Rohan C, Mayur, Chintan, Vijay, Nikul, Paresh, Raju, Yogendra, Jayesh & his family, Ramesh and his Family, Munni Bhabhi and her Family, Jyoti N, Bharti, Chitra Madam, Kittu and Family, Aarohi, Poonam Aunty, Uncle, Laukik and Bhabhi, Oracle Team, Deepika, Aniket, Prasanna, Mahendra, Arvind, Dinesh, Viral, Chaitali, Pragya, My Village, School & College Friends, and Teachers for being there always.
Special Thanks to Gowri-Arya, Sourabh Mishra, Sid, Sudeep, Rita-Yashvi, Ajay, Sneha, Ankita, Palash for being there always.
Finally, I would like to thank BPB Team for giving me this opportunity to write my book for them.
Preface
In the last few years, DevOps has been very popular and has become the point of discussion at the time of kick start meetings of Project. The main aim to adopt to DevOps culture is Quality and Faster time to market. Quality matters, and hence DevOps practices implementation matters too. It is about changing the existing culture and transform the mindset to understand that quality is an essential part of the routine. Continuous Improvement with Continuous Practices such as Continuous Integration, Continuous Delivery, Continuous Testing, Continuous Planning, Continuous Monitoring, and Continuous Innovation helps to create a unique culture based on existing best practices. DevOps practices implementation is a tool agnostic approach, and any tool, whether it is Open Source or Commercial, can be used to serve the purpose. In this book, we will use Azure DevOps for DevOps Practices implementation.
The primary goal of this book is to provide information and skills that are necessary to learn the basic and advance concepts of DevOps and DevOps practices implementation. This book is divided into 12 chapters, and it provides a detailed description of the core concepts of DevOpsand DevOps Practices Implementation with the use of Microsoft Azure DevOps and Microsoft Azure Cloud.
Over the 12 chapters in this book, you will learn the following:
Section I: Introduction to DevOps and Assessment
Chapter 1 introduces all the areas which encompass the field of DevOps Practices. ItdiscussesDefinition of DevOps, DevOps History, Benefits of DevOps Culture, DevOps and Digital Transformation, Big Bang Approach – DevOps Practices Implementation, Culture Transformation – People, Processes, Tools, Formula for Change, Nudge Theory for Culture Transformation, AIM – Assessment, Implementation, and Measurements, DevOps Practices (Overview, Benefits, Outcome, Best Practices, Tools, Challenges), Continuous Planning, Continuous Code Inspection, Continuous Integration (CI), Cloud Computing and Containers, Continuous Delivery and Continuous Deployment, Continuous Testing, Continuous Monitoring, Continuous Feedback, Continuous Improvements / Innovations, and Measurements.
Chapter 2 discusses how to do DevOps Assessment before Implementation. It also covers overview of DevOps Assessment, Assessment Framework, Information Gathering, Workshop, Formula for Change, Dissatisfaction, Vision, First Steps, Cognitive biases and DevOps Transformation, DevOps Assessment Report, Assessment Results, Origins of Existing Issues, DevOps Practices Adoption Recommendations, DevOps Maturity Model, DevOps Practices Implementation Roadmap, and Tools.
Section II: DevOps Practices Implementation using Azure DevOps and App Center
Chapter 3 introduces how to implement Continuous Integration and Continuous Delivery for Android Application. This chapter provides step by step detail to create Azure DevOps Organization, Multi-Stage Pipeline for Android App, how to import a repository from GitHub, how to perform Lint Analysis for Android application, execute Unit Tests, calculate Code Coverage, verify Build Quality, create APK file, and configure Continuous Delivery by deploying Package / APK to App Center.
Chapter 4 is a key chapter which discusseshow to implement Continuous Integration and Continuous Delivery for iOS Application. The chapter covers step by step way to create Multi-Stage Pipeline for iOS App to configure Continuous Integration, Understand how to perform Lint Analysis for iOS application, how to execute Unit Tests and Calculate Code Coverage, verify Build Quality based on Unit test coverage, to create IPA file and deploy it to App Center.
Chapter 5 is also a key chapter that discusses, in depth, how to use the App center to build and test Mobile Native Apps such as Android and iOS.
Chapter 6 introduces how to implement Continuous Integration and Continuous Delivery for Java Application. It covers step by step instructions to create multi Stage Pipeline for Java App that includes how to create a Project in Azure DevOps, import Repository from Azure DevOps Repo, how to create and configure Custom Agent in Azure DevOps, how to create SonarQube Service Connection, SonarQube Configuration, how to create Azure App Services – Platform as a Service to host Java Web Application, the configuration of Static Code Analysis using SonarQube, Unit Tests and Code Coverage configuration, how to create WAR or Package file and deploy to Azure App Services.
Chapter 7 introduces how to implement Continuous Integration and Continuous Delivery for Node.js Application. It covershow to implement Continuous Integration and Continuous Delivery for Node.js Application. It includes step by step instructions to create multi-Stage Pipeline for NodeJS Express App with Lint, Unit tests, and Code Coverage configuration in Package.json, the configuration of Node.js Express Web App to Linux on Azure, to create Azure App Service to deploy NodeJS Express App, how to configure Unit Tests and Code