Error: spawn terraform ENOENT when running Terraform in Azure DevOps Pipeline

A quick blog post to detail the simple fix of when you see the error: spawn terraform ENOENT when running your Terraform within an Azure DevOps Pipeline. Depending on which stages you have setup to run, you will notice this at the terraform init stage. Error output from Azure DevOps Pipeline Within the Azure DevOps … Read more

Running builds and releases in Azure DevOps using an Elgato Stream Deck

Screenshot showing Stream Deck status checks for Azure DevOps pipelines. The image highlights the Stream Deck interface displaying the status of various pipeline stages or jobs, including success, failure, or other statuses.

Recently I got an Elgato Stream Deck – they are awesome for Productivity! In this blog post I am going to show how you can run builds and releases in Azure DevOps by clicking on your Stream Deck and also the ability to autorefresh the status of builds & releases Setting up Elgato Stream Deck … Read more

A DevOps journey using Azure DevOps

This is a workshop/lab setup that I created; it is going to take you through a DevOps journey using Azure DevOps. From setting up your pipeline to deploying an application to your Azure Kubernetes cluster! This is also my contribution to this years Festive Tech Calendar – don’t forget to check out this content, its … Read more

Build and push Docker Images to Azure Container Registry using Azure DevOps Pipelines

In this blog post I am going to show how you can build and push Docker Images to Azure Container Registry (ACR) using an Azure DevOps Pipeline. Create Azure Container Registry Run the below AZ CLI to create a resource group and azure container registry Update the variables as highlighted It will create as below … Read more

Creating templates in Azure DevOps Pipelines

Building Azure DevOps YAML pipelines and continuously adding the same pipeline.yaml file? Over time; this file can grow and grow – copy and pasting the same job/task but changing variables? I recommend that you have a look at creating templates within your Azure DevOps pipelines to template common jobs/tasks that you can reuse within other … Read more

Conditional Variables in Azure DevOps Pipelines

Creating Azure DevOps Pipelines, have you used a condition to determine which variables to use? If not, I will detail in this blog post how you can do this! What is a condition? Conditions or statements that are used to determine an outcome; used widely in programming. Some examples of conditions:- If today is Monday … Read more

Storing and retrieving secrets in Azure KeyVault with Variable Groups in Azure DevOps Pipelines

Using Azure DevOps Pipelines and want to store secrets in Azure KeyVault? Use a variable group with Key Vault integration to retrieve these secrets and use within your DevOps pipeline Why Azure KeyVault? Using a variable group, you can store “secrets” but it is stored directly within Azure DevOps, I much prefer to store secrets … Read more

Create an Azure DevOps self-hosted linux agent virtual machine using Terraform

Using Azure DevOps & wanting to deploy an Azure DevOps self-hosted agent using Terraform? In this blog I will show you how by creating all the required Azure resources for IaaS self-hosted agent! Why use an Azure DevOps self-hosted agent? Numerous reasons to why you may want to use an self-hosted agent > Microsoft hosted … Read more

Scout Suite reports using Azure DevOps Pipeline

In this blog post, I am going to show how to run ScoutSuite in an Azure DevOps Pipeline and display reports within an Azure Storage Account Static Website

Get Public IP address of Azure DevOps hosted agent and Github-hosted runner

Wanting to know the specific Public IP address of an Azure DevOps hosted agent or GitHub-hosted runner? In this blog post I am going to show examples of how to retrieve each using bash within Azure DevOps Pipelines and GitHub Workflows. This sort of requirement is useful if the agent or runner requires access that … Read more