Skip to content

mrptsai/201-vm-vsts-agent

Repository files navigation

Install Multiple Azure DevOps Agents with latest Az Modules with PowerShell Core

With Visual Studio Enterprise you can create applications across devices and services, using an integrated, end-to-end DevOps solution for productivity and coordination across teams of any size. You get the tools you need to design, build, deploy and manage desktop, Windows Store, Windows Phone, and Office apps, as well as mobile and web apps across any device, web site, cloud service, and more. This image contains the recommended prodct install of the originally released (or 'RTW') version of Visual Studio Enterprise 2019 on Windows Server 2019. It allows you to easily and quickly set up a development environment in Azure to build and test applications using Visual Studio.

This Template 201-vm-vsts-agent builds the following:

  • Creates 1 Availability Set
  • Creates a Public IP Address
  • Creates a Virtual Network
  • Creates 1 Nic for the Virtual Machine
  • Creates 1 Virtual Machine with OS Disk with Windows 2016 including Visual Studio Enterprise 2017.
  • Installs and configures upto 4 VSTS agents
  • Installs modules and packages from PowerShell Gallery and Chocolately

Usage

Click on the Deploy to Azure button below. This will open the Azure Portal (login if necessary) and start a Custom Deployment. The following Parameters will be shown and must be updated / selected accordingly.

Parameters

  • script_url
    URL for the PowerShell Script. NOTE: Can be a Github url (raw) to the ps1 file.
    Default: Standard_DS1_v2 unless overridden.

  • vm_admin_user
    The name of the Administrator Account to be used to access the server(s).

  • vm_admin_password
    The password for the Admin Account. Must be at least 12 characters long.

  • vm_size
    The size of VM required.
    Default: Standard_DS1_v2 unless overridden.

  • devops_org
    The Azure DevOps Organisation name, that is, the last part of your Azure DevOps Url e.g. http://dev.azure.com/{OrgName}

  • devops_agent_count
    The number of Azure DevOps agents to be coonfigured on the Virtual Machine.
    Default: 3.

  • devops_pat
    The personal access token (PAT) used to authenticate to Azure DevOps.

  • devops_pool_name
    The Azure DevOps build agent pool for this build agent to join.
    Default: Default

Prerequisites

Access to Azure

Versioning

We use Github for version control.

Authors

Paul Towler - Initial work - 201-vm-vsts-agent

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published