Octopus Deploy Tentacle Agent

Matt Richardson 提供
上次更新日期: 2017/4/13

Deploy .NET applications to this virtual machine using Octopus Deploy, the most popular .NET deployment automation tool. Octopus Deploy is a friendly deployment automation tool. We use NuGet packages and conventions to make automated deployment easy. Octopus can automatically update configuration files, create IIS web sites and application pools, install Windows services, and a whole lot more.

此 Azure Resource Manager (ARM) 範本是由社群成員 (而非 Microsoft) 建立。每個 ARM 範本都是由其擁有者 (而非 Microsoft) 依據授權合約授權給您。Microsoft 並不負責社群成員所提供和授權的 ARM 範本,而不會為了安全性、相容性或效能進行篩選。社群 ARM 範本並未依據任何 Microsoft 支援方案或服務提供支援,而且會在沒有任何擔保的情況下依現況提供。

參數

參數名稱 說明
vmAdminUsername Admin username for the Virtual Machine.
vmAdminPassword Admin password for the Virtual Machine.
vmDnsName Unique DNS Name for the Public IP used to access the Virtual Machine.
vmSize Size of the Virtual Machine.
tentacleOctopusServerUrl The URL of the Octopus Server with which to register.
tentacleApiKey The Api Key to use to register the Tentacle with the Octopus Server.
tentacleCommunicationMode The type of Tentacle - whether the Tentacle listens for requests from the Octopus Server, or actively polls the Octopus Server for requests.
tentaclePort The port on which the Tentacle should listen, when CommunicationMode is set to Listen, or the port on which to poll the Octopus Server, when CommunicationMode is set to Poll. By default, Tentacle's listen on 10933 and polls the Octopus Server on 10943.
tentacleRoles A comma delimited list of Roles to apply to the Tentacle.
tentacleEnvironments A comma delimited list of Environments in which the Tentacle should be placed.
tentaclePublicHostNameConfiguration How the Octopus Server should contact the Tentacle. Only required when CommunicationMode is 'Listen'.
tentacleCustomPublicHostName The custom public host name that the Octopus Server should use to contact the Tentacle. Only required when communicationMode is 'Listen' and publicHostNameConfiguration is 'Custom'.

使用範本

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/octopus-deploy-tentacle-windows/azuredeploy.json
安裝和設定 Azure PowerShell

命令列

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/octopus-deploy-tentacle-windows/azuredeploy.json
安裝和設定 Azure 跨平台命令列介面