This post discusses restarting an Azure App Service in an Azure DevOps YAML pipeline after applying IaC config to update Azure Key Vault secrets during deployments.
[HOWTO] Run ASP.NET Core integration tests in a Az DevOps YAML pipeline when subject under test uses DefaultAzureCredential
Last week I struggled (again) running ASP.NET Core integration tests for an ASP.NET Core Web API that uses DefaultAzureCredential in a Azure DevOps YAML pipeline. To avoid having to struggle again, I am writing down my findings here. The initial situation There was an existing ASP.NET Core (.NET 8) Web API project that uses DefaultAzureCredential... Continue Reading →
[HOWTO] Automate release notes generation with an Azure DevOps YAML pipeline
This blog post demonstrates how to create a YAML pipeline in Azure DevOps for generating release notes for each production release, listing solved work items. The process involves preconditions, the Generate Release Notes (Crossplatform) extension, and the implementation of the release notes YAML pipeline. The post also covers importing the pipeline in Azure DevOps and local testing.
[HOWTO] Create Azure DevOps Service Connections with authentication method Workload Identity Federation using Terraform
Since fall 2023, Workload Identity Federation for Azure service connections has been available, allowing short-lived credential-free authentication to Azure. This post explains its benefits, its limitations, and provides an example of creating service connections using terraform.
[HOWTO] Limit the number of Microsoft-hosted agents that can be used by an Azure DevOps YAML pipeline
Usually an Azure DevOps Services organization contains multiple projects. Often for some of these projects YAML pipelines are set up, which are triggered on every pull request and commit to the develop and main branches. Let's assume that in one or more of these Azure DevOps projects a whole bunch of YAML pipelines is set... Continue Reading →
