Hi, I'm Nicholas 👋

I'm a Senior Platform Engineer

Buy Me A Coffee

Passing Variables Across Stages in Azure DevOps Pipelines

In this post, we will discuss how to get the output of a stage in an Azure DevOps Pipeline. We will explore the different ways to access the output of a stage and how you can use it in subsequent stages or tasks. This feature is useful when you need to pass information from one stage to another or when you want to capture the output of a stage for further analysis.

Github Advanced Security for Azure DevOps

This post will look at integrating GitHub Advance Security with Azure DevOps. As more and more organisations move to the cloud, security has become a top concern for many developers. That’s why Github has introduced Advanced Security for Azure DevOps. This post is written on behalf of Azure Back to School 2023. This new feature allows you to integrate Github’s security features into your Azure DevOps workflow, making it easier than ever to secure your applications.

Microsoft DevOps Security in Defender for Cloud for Azure DevOps

Overview This post is my contribution towards Azure Spring Clean 2023 event organised by Azure Community Thomas Thornton and Joe Carlyle. This event is about community contributors share learning resources that highlight best practices and tips for Azure, which you can see at https://www.azurespringclean.com/ Last year, Microsoft introduced a new service in Defender for Cloud called Microsoft DevOps Security. This service is a part of the Azure Defender for Cloud suite, designed to help secure DevOps pipelines and detect suspicious activity.

Validate Terraform code using Checkov in Azure DevOps

I will show how to validate your terraform code using Checkov Static Code Analysis Tool. Checkov is an open-source Infrastructure as Code(IaC) scanning tool created by Bridgecrew. It can support resources such as Azure Resource Manager, AWS, Terraform, Cloudformation and Kubernetes. It is used to detect security and compliance within your code. You can get more details on it by visiting the GitHub repo here.

Integrate Infracost with Azure DevOps

Several few weeks ago, I found out that there is a tool called infracost that allows you to estimate costs for resources deployed using Terraform. Infracost estimates cloud resources for Terraform that let you see the breakdown costs before you make any changes to the infrastructure environment either by using a pull request or locally. The tool can be integrated with other CICD tools such as GitHub Actions, Azure Pipeline and Terraform Cloud/Enterprise.

How to fix no such host issue when pushing to ACR

I found out that when I was pushing a docker via Azure Container registry via Azure DevOps I kept getting this error message and it took me a while to find a solution to it. To fix the issue I had to remove the docker registry service principle and create it again and ensure you have ACRPush permission in your ACR IAM permission. Hope this help somebody :)

Azure DevOps Journey

In this tutorial, I will be demonstrating how you can use Azure DevOps from creating a pipeline to deploying an application to a Kubernetes cluster in Azure. I will be following the post “A DevOps journey using Azure DevOps” by Thomas Thornton.

Using Git to push to Multiple Repos

This post will show you how to add a secondary repo to your local Git. I have been struggling to find out how to push to a secondary repo. I wanted to use Azure DevOps Repo and Github and make one internal and the other external to the public. The ideal set-up would be making Azure DevOps Repo private and the Github Public so other people can see it. Creating a Project via Azure DevOps

Writing YAML and running pipeline

This blog will show how to write a YAML file using the Azure DevOps pipeline with two examples. Azure Pipelines automatically builds and tests code in a source control repository like Git. It combines continuous integration (CI) and continuous delivery (CD) to test and build your code into a production environment. Microsoft Docs A pipeline is from stages, jobs and tasks. Usually, an azure-pipelines yaml file is created at the root of your repo.

Using Terraform with Azure DevOps

Terraform is an Infrastructure as code tool that provision and manage cloud and on-premise resources. It is an open-source declarative language that is easy to understand that allows users to dispose of any environment quickly. I will use terraform in this tutorial to create and manage Azure resources. There are four key points in using terraform: provider, resources, state, and data sources. The provider is the cloud provider, such as AzureRM for Azure, and the resources describe the Infrastructure resources, such as virtual networks.