Pester 5 test Powershell code in pipeline
Some time ago I created Pester tests for Azure Automation Runbooks as part of a pipeline to validate code before getting checked into a repo. Though this was pre version 5 of Pester, and as 5 came around there where some changes that had to be done for everything to keep working. I will go…
AzDO: AzureAD pipeline task
So I was trying to add owners on AzureAD groups and found that this was not something you currently could do by using the Az-module from the built-in Azure Powershell task. I knew this was supported using the AzureAD modules, though there was no existing way of using this directly in AzDO. I therefor set…
AzP: Terraform modules private repo
So Terraform is all the rage at the moment, so why not cash in on some of that action? So here is the pitch, write IaC with Terraform you should at least go down the path of creating modules and reference them in your code. This is a good move and something we know from…
AzD Passing Artifact Path Name to Release
On the path to make something generic, one task is to make as much as possible be variable based. By that I mean one place to define a value as a variable, then use it throughout the pipeline by referencing saied variable . This is good practise because it will make it more robust for…
Azure DevOps pass variable from Build to Release
Update: The code is updated to allow for other existing variables in the variable group without removing them. In my work creating a pipeline for Azure Automation Runbooks I came across a challenge I wanted to share one solution for. My specific challenge was to only import Runbooks that had changed from one PR to…