[macOS] Remove macOS 10.13 related code in the VE repo (#4494)

This commit is contained in:
Dibir Magomedsaygitov
2021-11-18 17:23:05 +03:00
committed by GitHub
parent bebaaa653c
commit 5ab1cb345e
19 changed files with 54 additions and 979 deletions

View File

@@ -1,16 +0,0 @@
name: macOS-10.13_$(date:yyyyMMdd)$(rev:.r)_unstable
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS High Sierra'
base_image_name: 'clean-macOS-10.13.6-380Gb-SIPoff_runner'
template_path: 'templates/macOS-10.13.json'
target_datastore: 'ds-image'

View File

@@ -82,10 +82,8 @@ try {
}
try {
if ($VMName -notmatch "10.13") {
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
}
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to change specs for VM '$VMName'"
}