Use D4 VMs (4 vCPU) for all Windows CI

D16 (16 cores) only allows 6 VMs per 100-core quota, not enough
for builds + 4 test shards. D4 (4 cores) allows 25 VMs.

[build images]
This commit is contained in:
Dylan Conway
2026-02-13 11:02:36 -08:00
parent 08b348935d
commit 1c2ecc63e9
3 changed files with 4 additions and 4 deletions

View File

@@ -104,8 +104,8 @@ function getTargetLabel(target) {
*/
// Azure VM sizes — single source of truth for both ci.mjs and azure.mjs
const azureVmSize = {
"windows-aarch64": "Standard_D16ps_v6", // 16 vCPU, 64 GiB, Cobalt 100
"windows-x64": "Standard_D16ds_v6", // 16 vCPU, 64 GiB
"windows-aarch64": "Standard_D4ps_v6", // 4 vCPU, 16 GiB, Cobalt 100
"windows-x64": "Standard_D4ds_v6", // 4 vCPU, 16 GiB
};
function getAzureVmSize(os, arch) {

View File

@@ -13,7 +13,7 @@ source "azure-arm" "windows-arm64" {
image_version = "latest"
// Build VM ARM64 Cobalt 100
vm_size = "Standard_D16ps_v6"
vm_size = "Standard_D4ps_v6"
// Use existing resource group instead of creating a temp one
build_resource_group_name = var.resource_group

View File

@@ -13,7 +13,7 @@ source "azure-arm" "windows-x64" {
image_version = "latest"
// Build VM
vm_size = "Standard_D16ds_v6"
vm_size = "Standard_D4ds_v6"
// Use existing resource group instead of creating a temp one
build_resource_group_name = var.resource_group