Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps with Windows Server 2016

You're reading from   DevOps with Windows Server 2016 Obtain enterprise agility and continuous delivery by implementing DevOps with Windows Server 2016

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786468550
Length 558 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ritesh Modi Ritesh Modi
Author Profile Icon Ritesh Modi
Ritesh Modi
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introducing DevOps FREE CHAPTER 2. DevOps Tools and Technologies 3. DevOps Automation Primer 4. Nano, Containers, and Docker Primer 5. Building a Sample Application 6. Source Code Control 7. Configuration Management 8. Configuration Management and Operational Validation 9. Continuous Integration 10. Continuous Delivery and Deployment 11. Monitoring and Measuring

Test-ARMTemplate.ps1


After preparing the common services and uploading the relevant scripts and templates to the Azure storage, it's time to start the process of deployment of the sample application. The entire infrastructure and application deployment is done through ARM template. The ARM template is responsible for provisioning resources on Azure and running scripts on virtual machines to configure them with the DSC Pull Server, Docker container, deploying the application and connecting it to the Azure SQL Server. However, before the ARM template is executed, it should be tested for its validity. The purpose of Test-ARMTemplate is to create a new resource group for the sample application and validate the OnlineMedicine.json ARM template. This script is executed from the release pipeline. The code for the entire script is shown next.

param(
    [string] $ARMTemplatePath,
    [string] $ARMTemplateParametersPath,
    [string] $resourceGroupName,
    [string] $OMSWorkspaceName,
    [string...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image