ARM templates - RT 7.10.2, JCR 7.10.2, Xray 3.9.1

- minor changes in VM image templates
This commit is contained in:
danielmkn
2020-10-19 14:12:07 -07:00
parent 3b97737dfc
commit 282d251e5d
15 changed files with 55 additions and 63 deletions

View File

@@ -132,7 +132,7 @@
"name": "artifactoryVersion", "name": "artifactoryVersion",
"type": "Microsoft.Common.DropDown", "type": "Microsoft.Common.DropDown",
"label": "Artifactory-vm image version to deploy.", "label": "Artifactory-vm image version to deploy.",
"defaultValue": "7.7.3", "defaultValue": "7.10.2",
"toolTip": "Version of Artifactory to deploy", "toolTip": "Version of Artifactory to deploy",
"constraints": { "constraints": {
"allowedValues": [ "allowedValues": [
@@ -167,6 +167,10 @@
{ {
"label": "7.7.3", "label": "7.7.3",
"value": "0.0.2" "value": "0.0.2"
},
{
"label": "7.10.2",
"value": "0.0.3"
} }
], ],
"required": true "required": true

View File

@@ -79,7 +79,7 @@
}, },
"artifactoryVersion": { "artifactoryVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.2", "defaultValue": "0.0.3",
"allowedValues": [ "allowedValues": [
"6.6.0", "6.6.0",
"6.6.1", "6.6.1",
@@ -95,7 +95,8 @@
"7.4.3", "7.4.3",
"7.4.30", "7.4.30",
"0.0.1", "0.0.1",
"0.0.2" "0.0.2",
"0.0.3"
], ],
"metadata": { "metadata": {
"description": "Artifactory-vm image version to deploy." "description": "Artifactory-vm image version to deploy."

View File

@@ -79,26 +79,21 @@
}, },
"artifactoryVersion": { "artifactoryVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.2", "defaultValue": "0.0.3",
"allowedValues": [ "allowedValues": [
"6.6.0",
"6.6.1",
"6.7.0",
"6.8.0",
"6.11.3", "6.11.3",
"6.15.0", "6.15.0",
"0.16.0", "0.16.0",
"0.17.0", "0.17.0",
"6.18.0", "6.18.0",
"7.0.0717",
"7.0.4001",
"7.2.1", "7.2.1",
"7.4.3", "7.4.3",
"7.4.30", "7.4.30",
"7.4.31", "7.4.31",
"7.5.7", "7.5.7",
"0.0.1", "0.0.1",
"0.0.2" "0.0.2",
"0.0.3"
], ],
"metadata": { "metadata": {
"description": "Artifactory-vm image version to deploy." "description": "Artifactory-vm image version to deploy."

View File

@@ -41,9 +41,6 @@
"virtualMachineComputerName": { "virtualMachineComputerName": {
"type": "String" "type": "String"
}, },
"diskNameSalt": {
"type": "String"
},
"storageAccountName": { "storageAccountName": {
"type": "String" "type": "String"
}, },

View File

@@ -64,9 +64,6 @@
"virtualMachineComputerName": { "virtualMachineComputerName": {
"value": "rtvm" "value": "rtvm"
}, },
"diskNameSalt": {
"value": "20200824153005"
},
"storageAccountName": { "storageAccountName": {
"value": "mpstoragevhd" "value": "mpstoragevhd"
}, },

View File

@@ -101,7 +101,7 @@
"name": "artifactoryVersion", "name": "artifactoryVersion",
"type": "Microsoft.Common.DropDown", "type": "Microsoft.Common.DropDown",
"label": "JFrog Container Registry-vm image version to deploy.", "label": "JFrog Container Registry-vm image version to deploy.",
"defaultValue": "7.7.3", "defaultValue": "7.10.2",
"toolTip": "Version of JFrog Container Registry to deploy", "toolTip": "Version of JFrog Container Registry to deploy",
"constraints": { "constraints": {
"allowedValues": [ "allowedValues": [
@@ -120,6 +120,10 @@
{ {
"label": "7.7.3", "label": "7.7.3",
"value": "0.0.2" "value": "0.0.2"
},
{
"label": "7.10.2",
"value": "0.0.3"
} }
], ],
"required": true "required": true

View File

@@ -25,12 +25,13 @@
}, },
"artifactoryVersion": { "artifactoryVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.2", "defaultValue": "0.0.3",
"allowedValues": [ "allowedValues": [
"7.2.1", "7.2.1",
"7.3.2", "7.3.2",
"7.4.3", "7.4.3",
"0.0.2" "0.0.2",
"0.0.3"
], ],
"metadata": { "metadata": {
"description": "JFrog Container Registry-vm image version to deploy." "description": "JFrog Container Registry-vm image version to deploy."

View File

@@ -25,12 +25,13 @@
}, },
"artifactoryVersion": { "artifactoryVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.2", "defaultValue": "0.0.3",
"allowedValues": [ "allowedValues": [
"7.2.1", "7.2.1",
"7.3.2", "7.3.2",
"7.4.3", "7.4.3",
"0.0.2" "0.0.2",
"0.0.3"
], ],
"metadata": { "metadata": {
"description": "JFrog Container Registry-vm image version to deploy." "description": "JFrog Container Registry-vm image version to deploy."

View File

@@ -5,11 +5,8 @@
"location": { "location": {
"type": "String" "type": "String"
}, },
"networkInterfaceName": { "namingInfix": {
"type": "String" "type": "string"
},
"networkSecurityGroupName": {
"type": "String"
}, },
"networkSecurityGroupRules": { "networkSecurityGroupRules": {
"type": "Array" "type": "Array"
@@ -17,18 +14,12 @@
"subnetName": { "subnetName": {
"type": "String" "type": "String"
}, },
"virtualNetworkName": {
"type": "String"
},
"addressPrefixes": { "addressPrefixes": {
"type": "Array" "type": "Array"
}, },
"subnets": { "subnets": {
"type": "Array" "type": "Array"
}, },
"publicIpAddressName": {
"type": "String"
},
"publicIpAddressType": { "publicIpAddressType": {
"type": "String" "type": "String"
}, },
@@ -91,8 +82,12 @@
} }
}, },
"variables": { "variables": {
"nsgId": "[resourceId(resourceGroup().name, 'Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroupName'))]", "networkInterfaceName": "[concat(parameters('namingInfix'), '-nic')]",
"vnetId": "[resourceId(resourceGroup().name,'Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]", "networkSecurityGroupName": "[concat(parameters('namingInfix'), '-nsg')]",
"virtualNetworkName": "[concat(parameters('namingInfix'), '-vnet')]",
"publicIpAddressName": "[concat(parameters('namingInfix'), '-public-ip')]",
"nsgId": "[resourceId(resourceGroup().name, 'Microsoft.Network/networkSecurityGroups', variables('networkSecurityGroupName'))]",
"vnetId": "[resourceId(resourceGroup().name,'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]",
"subnetRef": "[concat(variables('vnetId'), '/subnets/', parameters('subnetName'))]", "subnetRef": "[concat(variables('vnetId'), '/subnets/', parameters('subnetName'))]",
"storageContainerUri": "[concat(concat('https://', parameters('storageAccountName'), '.blob.core.windows.net/'), 'vhds/')]", "storageContainerUri": "[concat(concat('https://', parameters('storageAccountName'), '.blob.core.windows.net/'), 'vhds/')]",
"scriptName": "[parameters('scriptName')]", "scriptName": "[parameters('scriptName')]",
@@ -105,12 +100,12 @@
{ {
"type": "Microsoft.Network/networkInterfaces", "type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2019-07-01", "apiVersion": "2019-07-01",
"name": "[parameters('networkInterfaceName')]", "name": "[variables('networkInterfaceName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"dependsOn": [ "dependsOn": [
"[concat('Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroupName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('networkSecurityGroupName'))]",
"[concat('Microsoft.Network/virtualNetworks/', parameters('virtualNetworkName'))]", "[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]",
"[concat('Microsoft.Network/publicIpAddresses/', parameters('publicIpAddressName'))]" "[concat('Microsoft.Network/publicIpAddresses/', variables('publicIpAddressName'))]"
], ],
"properties": { "properties": {
"ipConfigurations": [ "ipConfigurations": [
@@ -122,7 +117,7 @@
}, },
"privateIPAllocationMethod": "Dynamic", "privateIPAllocationMethod": "Dynamic",
"publicIpAddress": { "publicIpAddress": {
"id": "[resourceId(resourceGroup().name, 'Microsoft.Network/publicIpAddresses', parameters('publicIpAddressName'))]" "id": "[resourceId(resourceGroup().name, 'Microsoft.Network/publicIpAddresses', variables('publicIpAddressName'))]"
} }
} }
} }
@@ -135,7 +130,7 @@
{ {
"type": "Microsoft.Network/networkSecurityGroups", "type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2019-02-01", "apiVersion": "2019-02-01",
"name": "[parameters('networkSecurityGroupName')]", "name": "[variables('networkSecurityGroupName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"properties": { "properties": {
"securityRules": "[parameters('networkSecurityGroupRules')]" "securityRules": "[parameters('networkSecurityGroupRules')]"
@@ -144,7 +139,7 @@
{ {
"type": "Microsoft.Network/virtualNetworks", "type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2019-09-01", "apiVersion": "2019-09-01",
"name": "[parameters('virtualNetworkName')]", "name": "[variables('virtualNetworkName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"properties": { "properties": {
"addressSpace": { "addressSpace": {
@@ -156,7 +151,7 @@
{ {
"type": "Microsoft.Network/publicIpAddresses", "type": "Microsoft.Network/publicIpAddresses",
"apiVersion": "2019-02-01", "apiVersion": "2019-02-01",
"name": "[parameters('publicIpAddressName')]", "name": "[variables('publicIpAddressName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"sku": { "sku": {
"name": "[parameters('publicIpAddressSku')]" "name": "[parameters('publicIpAddressSku')]"
@@ -171,7 +166,7 @@
"name": "[parameters('virtualMachineName')]", "name": "[parameters('virtualMachineName')]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"dependsOn": [ "dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', parameters('networkInterfaceName'))]", "[concat('Microsoft.Network/networkInterfaces/', variables('networkInterfaceName'))]",
"[concat('Microsoft.Storage/storageAccounts/', parameters('diagnosticsStorageAccountName'))]" "[concat('Microsoft.Storage/storageAccounts/', parameters('diagnosticsStorageAccountName'))]"
], ],
"properties": { "properties": {
@@ -196,7 +191,7 @@
"networkProfile": { "networkProfile": {
"networkInterfaces": [ "networkInterfaces": [
{ {
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaceName'))]" "id": "[resourceId('Microsoft.Network/networkInterfaces', variables('networkInterfaceName'))]"
} }
] ]
}, },

View File

@@ -5,11 +5,8 @@
"location": { "location": {
"value": "westus2" "value": "westus2"
}, },
"networkInterfaceName": { "namingInfix": {
"value": "jcr-nic" "value": "jcr"
},
"networkSecurityGroupName": {
"value": "jcr-nsg"
}, },
"networkSecurityGroupRules": { "networkSecurityGroupRules": {
"value": [ "value": [
@@ -31,9 +28,6 @@
"subnetName": { "subnetName": {
"value": "default" "value": "default"
}, },
"virtualNetworkName": {
"value": "jcr-vm-test-vnet"
},
"addressPrefixes": { "addressPrefixes": {
"value": [ "value": [
"10.0.0.0/24" "10.0.0.0/24"
@@ -49,9 +43,6 @@
} }
] ]
}, },
"publicIpAddressName": {
"value": "jcr-public-ip"
},
"publicIpAddressType": { "publicIpAddressType": {
"value": "Dynamic" "value": "Dynamic"
}, },

View File

@@ -123,7 +123,7 @@
"name": "xrayVersion", "name": "xrayVersion",
"type": "Microsoft.Common.DropDown", "type": "Microsoft.Common.DropDown",
"label": "Xray-vm image version to deploy.", "label": "Xray-vm image version to deploy.",
"defaultValue": "3.8.5", "defaultValue": "3.9.1",
"toolTip": "Version of Xray to deploy", "toolTip": "Version of Xray to deploy",
"constraints": { "constraints": {
"allowedValues": [ "allowedValues": [
@@ -138,6 +138,10 @@
{ {
"label": "3.8.5", "label": "3.8.5",
"value": "0.0.5" "value": "0.0.5"
},
{
"label": "3.9.1",
"value": "0.0.6"
} }
], ],
"required": true "required": true

View File

@@ -19,11 +19,12 @@
}, },
"xrayVersion": { "xrayVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.5", "defaultValue": "0.0.6",
"allowedValues": [ "allowedValues": [
"0.0.3", "0.0.3",
"0.0.4", "0.0.4",
"0.0.5" "0.0.5",
"0.0.6"
], ],
"metadata": { "metadata": {
"description": "Xray-vm image version to deploy." "description": "Xray-vm image version to deploy."

View File

@@ -33,7 +33,7 @@
"value": "10.0.1.0/24" "value": "10.0.1.0/24"
}, },
"xrayVersion": { "xrayVersion": {
"value": "0.0.4" "value": "0.0.6"
}, },
"artifactoryURL": { "artifactoryURL": {
"value": "http://artifactory-url.cloudapp.azure.com" "value": "http://artifactory-url.cloudapp.azure.com"

View File

@@ -19,11 +19,12 @@
}, },
"xrayVersion": { "xrayVersion": {
"type": "string", "type": "string",
"defaultValue": "0.0.5", "defaultValue": "0.0.6",
"allowedValues": [ "allowedValues": [
"0.0.3", "0.0.3",
"0.0.4", "0.0.4",
"0.0.5" "0.0.5",
"0.0.6"
], ],
"metadata": { "metadata": {
"description": "Xray-vm image version to deploy." "description": "Xray-vm image version to deploy."

View File

@@ -90,7 +90,7 @@
"value": "OWERWRITE_THE_PASSWORD" "value": "OWERWRITE_THE_PASSWORD"
}, },
"artifactoryVersion": { "artifactoryVersion": {
"value": "3.8.5" "value": "3.9.1"
}, },
"scriptName": { "scriptName": {
"value": "install_xray_to_vm.sh" "value": "install_xray_to_vm.sh"