Posts

Showing posts from June, 2021

Deploying an Azure web app using Azure DevOps

Image
In this post, we are going to deploy a web app built using Azure DevOps. For this post, I will be using the Azure DevOps project built using an Azure VM in a previous post. We will be using the same Azure VM agent to run the release pipeline and will create a new web app with an Azure SQL server connection to deploy the web app to. Prerequisites   1. An Azure account (which you can create following the instructions on a  previous post ), with an Azure VM, configured as a build agent (which I configured and used in this previous post ). We will use this account to create a new Azure web app resource to deploy the project to. 2. An Azure DevOps organization (which you can create following the instructions on this  previous post ), to create the sample project. 3. An Azure DevOps project with a successfully built build pipeline. We are going to use the PartsUnlimited project we built using an Azure VM in an  earlier post  that meets these criteria. Steps There are ...

Building Azure DevOps pipelines with a Docker agent

Image
 In this post, we are going to create a Docker image to use as a build agent to Azure DevOps pipelines. The process followed in this blog post is similar to the process followed in the post where we used an Azure VM as the build agent . The difference is, instead of using an Azure VM as an agent, we are going to run a Docker container as an agent on localhost. Prerequisites   1. An Azure DevOps project to build using the Docker agent. We are going to use the PartsUnlimited project we created in an  earlier post  which meets these criteria. 2. Have Docker installed on your local machine with the ability to create and run Windows containers (Refer to the troubleshooting section on how to switch). Steps There are a lot of steps involved in creating a Docker agent and running the build pipeline on it. So I will add subtopics between steps to group steps related to a specific subtask. 1. Creating the Agent pool and generating personal access for the new build agent 1.1. N...