An open-source, faster Devin alternative
TypeScript
align on consistent disk controller
Brian Reardon5b183420a646
diff --git a/.github/workflows/build-worker-ami.yml b/.github/workflows/build-worker-ami.ymlindex 0e1e736d..b498dd8c 100644--- a/.github/workflows/build-worker-ami.yml+++ b/.github/workflows/build-worker-ami.yml@@ -86,14 +86,14 @@ jobs:-var "image_version_patch=$PATCH" \deploy/packer/worker-ami.pkr.hcl | tee /tmp/packer-output.txt- # Use the gallery image ID (NVMe-compatible for v6 VMs)- GALLERY_IMAGE_ID="/subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${AZURE_RESOURCE_GROUP}/providers/Microsoft.Compute/galleries/${AZURE_GALLERY_NAME}/images/osb-worker/versions/1.0.${PATCH}"+ # Use the gallery image ID (NVMe-compatible for v7 VMs)+ GALLERY_IMAGE_ID="/subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/${AZURE_RESOURCE_GROUP}/providers/Microsoft.Compute/galleries/${AZURE_GALLERY_NAME}/images/osb-worker-v7/versions/1.0.${PATCH}"# Verify it existsif ! az sig image-version show \--resource-group "$AZURE_RESOURCE_GROUP" \--gallery-name ${AZURE_GALLERY_NAME} \- --gallery-image-definition osb-worker \+ --gallery-image-definition osb-worker-v7 \--gallery-image-version "1.0.${PATCH}" -o none 2>/dev/null; thenecho "ERROR: Gallery image version 1.0.${PATCH} not found after build"cat /tmp/packer-output.txtdiff --git a/deploy/packer/worker-ami.pkr.hcl b/deploy/packer/worker-ami.pkr.hclindex be7acdfe..2795155d 100644--- a/deploy/packer/worker-ami.pkr.hcl+++ b/deploy/packer/worker-ami.pkr.hcl@@ -57,8 +57,8 @@ variable "location" {variable "vm_size" {type = string- default = "Standard_D4s_v6"- description = "Builder VM size. Must be v6 family to match autoscaled worker disk controller."+ default = "Standard_D4ads_v7"+ description = "Builder VM size. Must match the autoscaled worker VM family for disk controller compatibility."}variable "image_name_prefix" {@@ -114,12 +114,12 @@ source "azure-arm" "worker" {managed_image_name = "${var.image_name_prefix}-${var.worker_version}"managed_image_resource_group_name = var.resource_group- # Also publish to Azure Compute Gallery for NVMe/v6 VM compatibility+ # Also publish to Azure Compute Gallery for NVMe/v7 VM compatibilityshared_image_gallery_destination {subscription = var.subscription_idresource_group = var.resource_groupgallery_name = var.gallery_name- image_name = "osb-worker"+ image_name = "osb-worker-v7"image_version = "1.0.${var.image_version_patch}"replication_regions = [var.location]}