A repository containing all you need to get setup for Azure DevOps Agents in Virtual Machine Scale Sets
This work is based heavily on the Virtual Environments work completed by Microsoft, but with the want to strip some of the items out of it.
Once the image and scale set have been created, complete the follow instructions - https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops
- Your scale set needs to be in the same region as your Azure DevOps instance for this to work
- Your service principal used to access the agents requires Owner (or maybe just contributor is enough)
- The Azure DevOps agents are installed automatically when you set up the pool
No requirements.
No providers.
No modules.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
client_id | The client id, passed as a PKR_VAR | string |
"PKR_VAR_client_id" |
no |
client_secret | The client_secret, passed as a PKR_VAR | string |
"PKR_VAR_client_secret" |
no |
dockerhub_login | The docker hub login, passed as a PKR_VAR | string |
"PKR_VAR_dockerhub_login" |
no |
dockerhub_password | The docker hub password passed as a PKR_VAR | string |
"PKR_VAR_dockerhub_password" |
no |
gallery_name | The gallery name | string |
"galldoeuwdev01" |
no |
gallery_rg_name | The gallery resource group name | string |
"rg-ldo-euw-dev-build" |
no |
helper_script_folder | Used in scripts | string |
"/imagegeneration/helpers" |
no |
image_folder | Used in scripts | string |
"/imagegeneration" |
no |
image_os | Used in scripts | string |
"ubuntu22" |
no |
image_version | Used in scripts | string |
"dev" |
no |
imagedata_file | Used in scripts | string |
"/imagegeneration/imagedata.json" |
no |
installer_script_folder | Used in scripts | string |
"/imagegeneration/installers" |
no |
location | Used in scripts | string |
"West Europe" |
no |
subscription_id | The gallery resource group name, passed as a PKR_VAR | string |
"PKR_VAR_subscription_id" |
no |
tenant_id | The gallery resource group name, passed as a PKR_VAR | string |
"PKR_VAR_tenant_id" |
no |
No outputs.