{"repo":"YannickRe/azuredevops-buildagents","free":true,"listed":false,"github":"https://github.com/YannickRe/azuredevops-buildagents","clone":"git clone https://github.com/YannickRe/azuredevops-buildagents.git","description":"Generate self-hosted build agents for Azure DevOps, just like Microsoft does.","language":"PowerShell","stars":168,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"DevOps Build Agents This project generates self-hosted build agents based on the official Microsoft-hosted build agents images, in an Azure DevOps Pipeline. The resulting Azure Managed Image will be add to an Azure Compute Gallery so that it can be used by a Virtual Machine Scale Set. This Virtual Machine Scale Set is managed by Azure DevOps as a Azure Virtual Machine Scale Set Agent. Currently supports Windows Server 2022, Windows Server 2025, Ubuntu 2204 and Ubuntu 2404 images. Available pipelines - buildagent-generation.yml - Checkout the latest main branch from actions/runner-images - Build the VM with Packer and add to Azure Compute Gallery - Clean up remaining temporary Azure resources - managedimage-cleanup.yml - Remove old Gallery image versions Preparation The pipeline requires Azure resources for the temporary building of the VM image, Azure resources for running the resulting Agent Pool, and some configuration in Azure DevOps. Azure Compute Gallery Create (if you don´t have one) an Azure Compute Gallery in your Azure subscription, and create the following VM Image Definitions: - ubuntu2204-agentpool-full (OS: Linux) - ubuntu2404-agentpool-full (OS: Linux) - windows2022-agentpool-full (OS: Windows) - windows2025-agentpool-full (OS: Windows) Azure Resources for Packer execution The Azure resources are created with the Azure PowerShell Module 1. Connect to Azure 2. Create resource group that will store the Packer temporary resources 3. Create Azure AD Service Principa","default_branch":null,"files":null,"tree":[],"storefront":"/r/YannickRe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YannickRe/azuredevops-buildagents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}