Azure resource manager template for a VSTS Ruby on Rails build agent
This template will install a simple Ubuntu linux server with a docker container for a Postgres DB and a second container for a VTST build agent with tools for Ruby on Rails and Postgres.
-
Using Azure CLI
Clone the files to your local machine, and then open a terminal at the cloned directory. Make sure you are logged in using azure cli, and that you are in Resource Manager mode. (More on how to do that at the link below)
azure group create <resource group name> <location>; azure group deployment create -v -f RailsBuildAgent.json <resource group name> <deployment name>
https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-azure-resource-manager/
- Using Powershell
https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/
- Using Azure Portal Click the "Deploy to Azure" button.