mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 05:06:56 -06:00
Arm 7.11.2 (#68)
* ARM templates - Postgresql JDBC driver is updated (for 7.10.2 compatibility) * ARM templates - RT and JCR 7.10.2, Xray 3.9.1 * VM image publish template - RT 7.10.5 * ARM template for 7.10.5 * ARM template for Xray 3.10.3 * Updated artifactoryVersion and location * Updated 7.10.5 version for JCR Azure application * updated version on azuredeploy_ms_ps.json * updated azuredeploy_ms_ps.json * updated azuredeploy_ms_ps.json * updated 7.10.6 verion in azuredeploy_ms_ps.json, MP_submission/createUiDefinition.json, MP_submission/mainTemplate.json * Updated the Version for JCR * updated new xray version 3.11.2 in template files * updated new x-ray version in createUiDefinition.json mainTemplate.json * updated createUiDefinition.json mainTemplate.json * updated 7.11.2 changes for xray, rt and jcr * ARM template, fixing formatting Co-authored-by: danielmkn <danielmi@jfrog.com> Co-authored-by: Aayush-sood94 <aayush.sood1@igtsolutions.com>
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
"name": "artifactoryVersion",
|
||||
"type": "Microsoft.Common.DropDown",
|
||||
"label": "Artifactory-vm image version to deploy.",
|
||||
"defaultValue": "7.10.2",
|
||||
"defaultValue": "7.11.2",
|
||||
"toolTip": "Version of Artifactory to deploy",
|
||||
"constraints": {
|
||||
"allowedValues": [
|
||||
@@ -170,8 +170,17 @@
|
||||
},
|
||||
{
|
||||
"label": "7.10.2",
|
||||
"value": "0.0.3"
|
||||
}
|
||||
"value": "0.0.31"
|
||||
},
|
||||
{
|
||||
"label": "7.10.5",
|
||||
"value": "0.0.4"
|
||||
},
|
||||
{
|
||||
"label": "7.10.6",
|
||||
"value": "0.0.52"
|
||||
},
|
||||
{ "label": "7.11.2", "value": "0.0.6" }
|
||||
],
|
||||
"required": true
|
||||
},
|
||||
@@ -533,4 +542,4 @@
|
||||
"storageAccountType": "[steps('storageConfig').storageAccountsType]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
},
|
||||
"artifactoryVersion": {
|
||||
"type": "string",
|
||||
"defaultValue": "0.0.3",
|
||||
"defaultValue": "0.0.6",
|
||||
"allowedValues": [
|
||||
"6.6.0",
|
||||
"6.6.1",
|
||||
@@ -96,7 +96,10 @@
|
||||
"7.4.30",
|
||||
"0.0.1",
|
||||
"0.0.2",
|
||||
"0.0.3"
|
||||
"0.0.31",
|
||||
"0.0.4",
|
||||
"0.0.52",
|
||||
"0.0.6"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Artifactory-vm image version to deploy."
|
||||
@@ -778,7 +781,7 @@
|
||||
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
||||
"name": "[variables('scaleSetPrimaryName')]",
|
||||
"location": "[parameters('location')]",
|
||||
"apiVersion": "2018-10-01",
|
||||
"apiVersion": "2020-06-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Network/loadBalancers/', variables('lbName'))]",
|
||||
"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]",
|
||||
@@ -876,7 +879,7 @@
|
||||
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
||||
"name": "[variables('scaleSetMemberName')]",
|
||||
"location": "[parameters('location')]",
|
||||
"apiVersion": "2018-10-01",
|
||||
"apiVersion": "2020-06-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Network/loadBalancers/', variables('lbName'))]",
|
||||
"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]",
|
||||
@@ -978,4 +981,4 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,6 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
mkdir -p /etc/pki/tls/private/ /etc/pki/tls/certs/
|
||||
openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/pki/tls/private/example.key -out /etc/pki/tls/certs/example.pem -days 356 -subj "/C=US/ST=California/L=SantaClara/O=IT/CN=*.localhost"
|
||||
|
||||
# Install Postgresql driver
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/postgresql-9.4.1212.jar https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
|
||||
CERTIFICATE_DOMAIN=$(cat /var/lib/cloud/instance/user-data.txt | grep "^CERTIFICATE_DOMAIN=" | sed "s/CERTIFICATE_DOMAIN=//")
|
||||
[ -z "$CERTIFICATE_DOMAIN" ] && CERTIFICATE_DOMAIN=artifactory
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
},
|
||||
"artifactoryVersion": {
|
||||
"type": "string",
|
||||
"defaultValue": "0.0.3",
|
||||
"defaultValue": "0.0.6",
|
||||
"allowedValues": [
|
||||
"6.11.3",
|
||||
"6.15.0",
|
||||
@@ -93,7 +93,10 @@
|
||||
"7.5.7",
|
||||
"0.0.1",
|
||||
"0.0.2",
|
||||
"0.0.3"
|
||||
"0.0.31",
|
||||
"0.0.4",
|
||||
"0.0.52",
|
||||
"0.0.6"
|
||||
],
|
||||
"metadata": {
|
||||
"description": "Artifactory-vm image version to deploy."
|
||||
@@ -775,7 +778,7 @@
|
||||
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
||||
"name": "[variables('scaleSetPrimaryName')]",
|
||||
"location": "[parameters('location')]",
|
||||
"apiVersion": "2018-10-01",
|
||||
"apiVersion": "2020-06-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Network/loadBalancers/', variables('lbName'))]",
|
||||
"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]",
|
||||
@@ -873,7 +876,7 @@
|
||||
"type": "Microsoft.Compute/virtualMachineScaleSets",
|
||||
"name": "[variables('scaleSetMemberName')]",
|
||||
"location": "[parameters('location')]",
|
||||
"apiVersion": "2018-10-01",
|
||||
"apiVersion": "2020-06-01",
|
||||
"dependsOn": [
|
||||
"[resourceId('Microsoft.Network/loadBalancers/', variables('lbName'))]",
|
||||
"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]",
|
||||
@@ -975,4 +978,4 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"value": "vmuser"
|
||||
},
|
||||
"adminPassword": {
|
||||
"value": "password"
|
||||
"value": "OWERWRITE_THE_PASSWORD"
|
||||
},
|
||||
"db_type": {
|
||||
"value": "Postgresql_deploy.json"
|
||||
@@ -18,7 +18,7 @@
|
||||
"value": "artifactory"
|
||||
},
|
||||
"db_password": {
|
||||
"value": "password"
|
||||
"value": "OWERWRITE_THE_PASSWORD"
|
||||
},
|
||||
"db_name": {
|
||||
"value": "artdb"
|
||||
@@ -50,19 +50,19 @@
|
||||
"value": "GENERATE_JOIN_KEY"
|
||||
},
|
||||
"certificate": {
|
||||
"value": "-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----"
|
||||
"value": "-----BEGIN CERTIFICATE----- <YOUR CERTIFICATE HERE> -----END CERTIFICATE-----"
|
||||
},
|
||||
"certificateKey": {
|
||||
"value": "-----BEGIN PRIVATE KEY----- -----END PRIVATE KEY-----"
|
||||
"value": "-----BEGIN PRIVATE KEY----- <YOUR CERTIFICATE HERE> -----END PRIVATE KEY-----"
|
||||
},
|
||||
"artifactoryLicense1": {
|
||||
"value": ""
|
||||
"value": "<ARTIFACTORY LICENCE FOR MASTER NODE>"
|
||||
},
|
||||
"artifactoryLicense2": {
|
||||
"value": ""
|
||||
"value": "<ARTIFACTORY LICENCE FOR MEMBER0 NODE>"
|
||||
},
|
||||
"artifactoryLicense3": {
|
||||
"value": ""
|
||||
"value": "<ARTIFACTORY LICENCE FOR MEMBER1 NODE>"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,9 +25,6 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
mkdir -p /etc/pki/tls/private/ /etc/pki/tls/certs/
|
||||
openssl req -nodes -x509 -newkey rsa:4096 -keyout /etc/pki/tls/private/example.key -out /etc/pki/tls/certs/example.pem -days 356 -subj "/C=US/ST=California/L=SantaClara/O=IT/CN=*.localhost"
|
||||
|
||||
# Install Postgresql driver
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/postgresql-9.4.1212.jar https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
|
||||
CERTIFICATE_DOMAIN=$(cat /var/lib/cloud/instance/user-data.txt | grep "^CERTIFICATE_DOMAIN=" | sed "s/CERTIFICATE_DOMAIN=//")
|
||||
[ -z "$CERTIFICATE_DOMAIN" ] && CERTIFICATE_DOMAIN=artifactory
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ EOF
|
||||
#Install database drivers (for Java 11, path is different for RT6 and RT7)
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/mysql-connector-java-5.1.38.jar https://bintray.com/artifact/download/bintray/jcenter/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/mssql-jdbc-7.4.1.jre11.jar https://bintray.com/artifact/download/bintray/jcenter/com/microsoft/sqlserver/mssql-jdbc/7.4.1.jre11/mssql-jdbc-7.4.1.jre11.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/postgresql-9.4.1212.jar https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
curl --retry 5 -L -o /opt/jfrog/artifactory/app/artifactory/tomcat/lib/postgresql-42.2.18.jar https://jdbc.postgresql.org/download/postgresql-42.2.18.jar >> /tmp/install-databse-driver.log 2>&1
|
||||
|
||||
#Configuring nginx
|
||||
rm /etc/nginx/sites-enabled/default
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"metadata": {
|
||||
"description": "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."
|
||||
},
|
||||
"defaultValue": "https://raw.githubusercontent.com/jfrog/JFrog-Cloud-Installers/vm-image-templates/AzureResourceManager/Artifactory/"
|
||||
"defaultValue": "https://raw.githubusercontent.com/jfrog/JFrog-Cloud-Installers/master/AzureResourceManager/Artifactory/"
|
||||
},
|
||||
"_artifactsLocationSasToken": {
|
||||
"type": "securestring",
|
||||
@@ -259,4 +259,4 @@
|
||||
"value": "[variables('commandToExecute')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,10 +90,10 @@
|
||||
"value": "OWERWRITE_THE_PASSWORD"
|
||||
},
|
||||
"artifactoryVersion": {
|
||||
"value": "7.10.2"
|
||||
"value": "7.11.2"
|
||||
},
|
||||
"scriptName": {
|
||||
"value": "install_pro7_to_vm.sh"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user