Install AzurePipeline Release Agent on Windows container using docker.
To set up AzurePipeline Release Agent agent on Windows Docker container first setup three environment variable present in docker-compose.yml, post cloning the repo. Three environment variable are listed below
- VSTS_ACCOUNT - AzureDevOps Organization.
- VSTS_TOKEN - (PAT TOKEN should have access level = Agent Pools (read, manage), as mentioned here)
- VSTS_POOL - Agent Pool name present in the above organization, against which the new agents needs to be associated with.
Once environment variables are setup execute below command from the directory where you have cloned this repo.
If we need to to scale up the number of vsts/azurepipeline agent to 4.