mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
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:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user