Azure / Azure/build-vm-image

Image build takes a very long time

Open
#9 5 comments 1 reaction 1 assignee Claimed by @olayemio View on GitHub
idle performance-issue
Dominant language
JavaScript
Stars
36
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hi, not sure it this an issue or expected - when creating a custom Windows image with the command, the build takes a very long time, over 40 minutes. Just wanted to know if this is normal and if not why this might be taking so long. The command output shows 'Starting Run template...' and then takes about 40 minutes to succeed. Here is my command being run from the Github Actions worflow:
- name: Create VM Image
id: imageBuilder
uses: azure/build-vm-image@v0
with:
location: "eastus"
resource-group-name: "test-group"
managed-identity: "Mission"
vm-size: "Standard_B2s"
source-os-type: "windows"
source-image-type: "platformImage"
source-image: MicrosoftWindowsServer:WindowsServer:2019-Datacenter:latest
customizer-source: "${{ GITHUB.WORKSPACE }}/dist/angular-test-app"
dist-resource-id: "/subscriptions/${{ secrets.SUBSCRIPTION_ID }}/resourceGroups/test-group/providers/Microsoft.Compute/galleries/testGallery/images/testVM"
dist-type: "SharedImageGallery"
dist-location: "eastus"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.