mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
Switch Azure to eastus2 (100 core quota) and restore D8 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_D4ps_v6", // 4 vCPU, 16 GiB, Cobalt 100
|
||||
"windows-x64": "Standard_D4ds_v6", // 4 vCPU, 16 GiB
|
||||
"windows-aarch64": "Standard_D8ps_v6", // 8 vCPU, 32 GiB, Cobalt 100
|
||||
"windows-x64": "Standard_D8ds_v6", // 8 vCPU, 32 GiB
|
||||
};
|
||||
|
||||
function getAzureVmSize(os, arch) {
|
||||
|
||||
@@ -34,7 +34,7 @@ function getConfig() {
|
||||
clientSecret: env("AZURE_CLIENT_SECRET"),
|
||||
subscriptionId: env("AZURE_SUBSCRIPTION_ID"),
|
||||
resourceGroup: env("AZURE_RESOURCE_GROUP", "BUN-CI"),
|
||||
location: env("AZURE_LOCATION", "centralus"),
|
||||
location: env("AZURE_LOCATION", "eastus2"),
|
||||
galleryName: env("AZURE_GALLERY_NAME", "bunCIGallery"),
|
||||
};
|
||||
}
|
||||
@@ -561,7 +561,7 @@ function getBaseImageReference(os, arch) {
|
||||
}
|
||||
|
||||
function getVmSize(arch) {
|
||||
return arch === "aarch64" ? "Standard_D4ps_v6" : "Standard_D4ds_v6";
|
||||
return arch === "aarch64" ? "Standard_D8ps_v6" : "Standard_D8ds_v6";
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user