diff options
| author | Billy O'Neal <bion@microsoft.com> | 2020-05-10 15:17:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-10 15:17:27 -0700 |
| commit | 6920b49047f2de6880df8ef9724cc508c5f491ca (patch) | |
| tree | f0a849f39c540a5eb145756198f5f2e024553cc0 /scripts/azure-pipelines/windows | |
| parent | d4a415b7fa3f0d0ea14a789d5778abfc666ef2d0 (diff) | |
| download | vcpkg-6920b49047f2de6880df8ef9724cc508c5f491ca.tar.gz vcpkg-6920b49047f2de6880df8ef9724cc508c5f491ca.zip | |
[vcpkg] [llvm] [mpir] Bump Linux VM memory size and do all operations on the temporary disk. (#11174)
* [vcpkg] Bump Linux VM memory size and do all operations on the temporary disk.
* [llvm] disable optional dependencies to libxml2 and zlib
* [vcpkg] Reduce quotas on the share to something reasonable.
* [mpir] Skip on Linux because it conflicts with libgmp.
Co-authored-by: yurybura <yurybura@gmail.com>
Diffstat (limited to 'scripts/azure-pipelines/windows')
| -rw-r--r-- | scripts/azure-pipelines/windows/create-vmss.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/azure-pipelines/windows/create-vmss.ps1 b/scripts/azure-pipelines/windows/create-vmss.ps1 index 8c05cd51d..6a3f01fc1 100644 --- a/scripts/azure-pipelines/windows/create-vmss.ps1 +++ b/scripts/azure-pipelines/windows/create-vmss.ps1 @@ -294,7 +294,7 @@ $StorageContext = New-AzStorageContext ` -StorageAccountKey $StorageAccountKey
New-AzStorageShare -Name 'archives' -Context $StorageContext
-Set-AzStorageShareQuota -ShareName 'archives' -Context $StorageContext -Quota 5120
+Set-AzStorageShareQuota -ShareName 'archives' -Context $StorageContext -Quota 2048
####################################################################################################
Write-Progress `
@@ -308,7 +308,7 @@ $Nic = New-AzNetworkInterface ` -Location $Location `
-Subnet $VirtualNetwork.Subnets[0]
-$VM = New-AzVMConfig -Name $ProtoVMName -VMSize $VMSize
+$VM = New-AzVMConfig -Name $ProtoVMName -VMSize $VMSize -Priority 'Spot' -MaxPrice -1
$VM = Set-AzVMOperatingSystem `
-VM $VM `
-Windows `
|
