danielsollondon / azvmimagebuilder

Azure VM Image Builder
180 stars 153 forks source link

Triggering a Build from Template then Responing to Updates Async #134

Closed blueboxes closed 10 months ago

blueboxes commented 1 year ago

I am trying to build an image from a template using CI/CD but have two issues.

1) The az command

az resource invoke-action \
--subscription $(subscriptionId) \
--resource-group $(resourceGroup) \
--resource-type Microsoft.VirtualMachineImages/imageTemplates \
--name $(templateName) \
--action Run;

This has no --no-wait feature yet. So I would like to use the REST API to start it off but I cannot see the image builder in the REST API documentation.

2) Once it has started the build I can see no way to subscribe to updates so I know when it has succeeded or failed.

I feel like I am missing something, any pointers would be useful.

danielsollondon commented 10 months ago

Apologies for the delay here, Please raise further issues here: https://github.com/azure/azvmimagebuilder