Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to show progress for ARM deployment in Azure DevOps?

I have a pipeline in Azure DevOps. After building and testing stuff, I create Azure Resources in order to deploy the app there.

I use Azure Resource Group Deployment task for that. It works, but in logs I see only this (for all the resouces I created):

******************************************************************************
Starting: Create Azure Resources
******************************************************************************
==============================================================================
Task         : Azure Resource Group Deployment
Description  : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
Version      : 2.147.2
Author       : Microsoft Corporation
Help         : [More Information](https://aka.ms/argtaskreadme)
==============================================================================
Checking if the following resource group exists: awesomeApp42.
Resource group exists: true.
Creating deployment parameters.
The detected encoding for file 'D:\a\1\s\arm-template.json' is 'utf-8'
Starting Deployment.
Deployment name is awesomeApp42.
Successfully deployed the template.
##[section]Finishing: Create Azure Resources

Is it possible to get any details on that? E.g. what resources were created, with what names and when?

like image 987
psfinaki Avatar asked Jan 01 '23 05:01

psfinaki


1 Answers

No, according to the schema. But you can always use Azure Powershell task to achieve that, something like:

New-AzResourceGroupDeployment -Verbose ...

so basically add -Verbose switch to your New-AzResourceGroupDeployment cmdlet. Pretty sure this is the closest you can get

like image 56
4c74356b41 Avatar answered Jan 31 '23 07:01

4c74356b41