Expose environment status in the response of `az ml environment show` command
See original GitHub issueRelated command
az ml environment show
The version of az CLI being used:
% az --version
azure-cli 2.38.0
core 2.38.0
telemetry 1.0.6
Extensions:
storage-preview 0.8.3
ml 2.6.1
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Is your feature request related to a problem? Please describe.
We use the az ml environment
command to automate the management of environments in AzureML in our CI/CD pipeline.
When creating a new (version of) environment, the command az ml environment create
returns immediately when the environment is created (while the environment is being built), we need a way to pull the environment status to make sure that the environment is successfully built before triggering the next step where the newly version of environment is used. But the az ml environment show
command does not expose the status in the response.
Describe the solution you’d like
Expose environment status (e.g., Running
, Succeeded
, Not built
, etc.) in the response of az ml environment show
command.
Describe alternatives you’ve considered
N/A
Additional context
N/A
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top GitHub Comments
Thank you @hugoaponte! This is an important feature to fully automate the CI/CD pipeline (covering the whole path from environment building to model training). The only work-around I can think of is to rely on a timeout, which is obviously not nice. Or, do you have suggestions on other possible nicer work-arounds?
Thanks again! Looking forward to this feature!
Is there any update on this feature request? As @Rainfarm mentioned this one will enable full automation of CI/CD workflow. Now, if there is any error while environment build, it could be only detected while pipeline execution.
Seems that neither CLI/SDK v2 nor Azure ML REST API do not provide the ability to check build status.