Azure CLI ML extension v2 - az ml environment commands to find image build status

Neil McAlister 211 Reputation points
2023-02-03T09:14:30.0233333+00:00

I'm constructing a CI/CD pipeline using the Azure ML v2 commands and using the following to create a custom environment ready to submit a deployment for a batch endpoint

az ml environment create --name neiltestcustomenv --resource-group myrg --workspace-name myamlworkspace --build-context .\batch --dockerfile-path Dockerfile

When the command is issued and submitted to AML to build - the az ml environment create command instantly completes and doesn't wait for the build to complete

How do I enumerate programmatically to find out the status of the environment build please? - it starts in Running state and then to Succeeded (or other error states)

I've tried az ml environment list and az ml environment show commands - but I cannot find this "Environment image build status" field (screenshot) - this is required to allow pipelines to work

Thanks

(I've posted the screenshot image here as in-line image adding here doesn't appear to be working right now)

https://i.postimg.cc/1RjJT4TS/Capture.png

Capture

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,580 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Neil McAlister 211 Reputation points
    2023-03-03T09:11:08.54+00:00

    Closing this - track the progress here https://github.com/Azure/azure-cli/issues/23381

    0 comments No comments