You can now rapidly setup DevOps project that includes Continous Integration and Continuous Delivery (CI/CD) for your Azure IoT Edge application using Azure DevOps Project. Azure DevOps has everything you need to build your software product from envisioning to put in into end-users hands. Azure DevOps Project makes it very easy to get started on Setting up code repo, build, and deployment with Azure. Just by using a few quick steps, DevOps Project set you up to everything you need for developing, deploying, and monitoring your app on Azure. Azure DevOps Project now allow automatically create build and releases pipeline for your fully managed Azure IoT Edge-based applications.
Setting up DevOps Project for Azure IoT Edge application
The process of creating DevOps for Azure IoT Edge is very much similar to other Azure DevOps Project creation.
- Sign in to your Azure Subscription and select Azure DevOps Project, to create a New Project.
- Choose .NET as Runtime, and select “Simple IoT” as a framework.
In the next step, choose, IoT Edge as service to analyze data on edge instead of the cloud platform. As part of the final process, choose the project name, organization, and other resources required to set up the projects. In this section, you can also select the pricing tire for all the services getting used.
Once this process of selection is done, click on “Done” That’s it. It will start processing provisioning the code repository in Git, setting up build definition, release definition, and everything that you need to end to end delivery for your IoT Edge solution.
Once the process of resource creation and deployment is complete, you can check the dashboard for code repository, branches, and release pipeline.
Initial code repository contains code some of the sample modules, which you can edit or start creating your modules for edge devices. AzureDevOps Project creates the code repository with different branches along with three release pipeline for the project – Dev, Qa, and Prod.
You can take this code to your favorite editors such as Visual Studio Code, or Visual Studio for further development, and as soon as you push the changes, it will be deployed through the release pipelines. You can read more about CI/CD pipeline for Azure IoT edge with Azure DevOps projects here.
You can also refer to this video for a detailed look into Azure IoT Edge development with Azure DevOps.