Artifactory Enterprise Setup

Автор: Jainish Shah
Последнее обновление: 14.01.2019

This template helps you setup a Artifactory Enterprise environment.

Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.

Параметры

Имя параметра Описание
vmSku Size of VMs in the VM Scale Set.
clusterName String used as a base for naming resources. Must be 3-61 characters in length and globally unique across Azure. A hash is prepended to this string for some resources, and resource-specific information is appended.
location Location for the resources.
nodeCount Number of VM instances (100 or less) for member artifactory nodes. Minimum 1 node.
artifactoryVersion Artifactory-vm image version to deploy.
masterKey Master key for Artifactory cluster. Generate master.key using command '$openssl rand -hex 16'
adminUsername Admin username on all VMs. Follow conventions for azure VM admin user name.
adminPassword Admin password on all VMs. Follow conventions for azure VM admin password rules.
artifactoryLicense1 Artifactory Enterprise License. Providing one license is mandatory
artifactoryLicense2 Artifactory Enterprise License
artifactoryLicense3 Artifactory Enterprise License
artifactoryLicense4 Artifactory Enterprise License
artifactoryLicense5 Artifactory Enterprise License
certificate To use Artifactory as docker registry you need to provide wild card valid Certificate. Provide your SSL Certificate.
certificateKey Provide your SSL Certificate key
certificateDomain Provide your Certificate Domain Name. For e.g jfrog.team for certificate with *.jfrog.team
artifactoryServerName Provide artifactory server name to be used in Nginx. e.g artifactory for artifactory.jfrog.team
extraJavaOptions Setting Java Memory Parameters for Artifactory. Learn about system requirements for Artifactory https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware.
DB_Admin_User Database Admin user name
DB_Admin_Password Database Admin password
DB_Name Database name
DB_Edition Database Edition
storageAccountType Storage Account type
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.

Использование шаблона

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/artifactory-enterprise/mainTemplate.json
Установка и настройка служб Azure PowerShell

Командная строка

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/artifactory-enterprise/mainTemplate.json
Установка и настройка кросс-платформенного интерфейса командной стройки Azure