Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-cloudinfra-serviceuser authored and ubikusss committed Mar 29, 2021
1 parent 0498d34 commit f65ba41
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 24 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ Import-Module ([System.IO.Path]::GetFullPath((Join-Path (Get-Location) "./AzureU
Write-Output " ******* $(Get-Date) Orchestrator installation cleanup started *******"

$vm = Get-AzVm -Name $VMName

$count = 1
while (!$vm.StorageProfile.OSDisk.Name -and ($count -lt 30)) {
Start-Sleep -Seconds 3
Write-Host "The value of the disk name is: $($vm.StorageProfile.OSDisk.Name)"
$count++
}

$OSDiskName = $vm.StorageProfile.OSDisk.Name

Remove-AzVM -Name $VMName -ResourceGroupName $RGName -Force
Expand All @@ -45,4 +53,4 @@ Remove-AzDisk -ResourceGroupName $RGName -DiskName $OSDiskName -Force
Write-Output " ******* $(Get-Date) Orchestrator installation cleanup finished *******"
Stop-Transcript

Send-LogFileToInsights -insightsKey $insightsKey -logFile $logFile
Send-LogFileToInsights -insightsKey $insightsKey -logFile $logFile
File renamed without changes.
8 changes: 4 additions & 4 deletions Azure/Orchestrator/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@
"name": "orchestratorVersion",
"label": "Orchestrator version",
"type": "Microsoft.Common.DropDown",
"defaultValue": "20.10.7",
"defaultValue": "20.10.8",
"constraints": {
"allowedValues": [
{
"label": "20.10.7",
"value": "20.10.7"
"label": "20.10.8",
"value": "20.10.8"
}
]
},
Expand Down Expand Up @@ -922,4 +922,4 @@
"HAAVMNamePrefix": "[if(equals(steps('AdvancedConfig').AdvConfVisibility, 'Yes'),steps('AdvancedConfig').AdvancedConfigurationDetails.HAAVMNamePrefix,concat(steps('AdvancedConfig').orchestratorName,'-haa-vm'))]"
}
}
}
}
4 changes: 2 additions & 2 deletions Azure/Orchestrator/linkedTemplates/PaaSWithIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
},
"orchestratorVersion": {
"type": "string",
"defaultValue": "20.10.7",
"defaultValue": "20.10.8",
"allowedValues": [
"20.10.7"
"20.10.8"
],
"metadata": {
"description": "Version of the Orchestrator"
Expand Down
19 changes: 2 additions & 17 deletions Azure/Orchestrator/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
},
"orchestratorVersion": {
"type": "string",
"defaultValue": "20.10.7",
"defaultValue": "20.10.8",
"allowedValues": [
"20.10.7"
"20.10.8"
],
"metadata": {
"description": "Version of the Orchestrator"
Expand Down Expand Up @@ -430,21 +430,6 @@
}
},
"resources": [
{
"apiVersion": "2019-10-01",
"name": "pid-5b5efb37-e388-4862-add1-0be0d6d0d45b",
"tags": "[ if(contains(parameters('tagsByResource'), 'Microsoft.Resources/deployments'), parameters('tagsByResource')['Microsoft.Resources/deployments'], json('{}')) ]",
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
]
}
}
},
{
"name": "SQLTemplate",
"type": "Microsoft.Resources/deployments",
Expand Down

0 comments on commit f65ba41

Please sign in to comment.