Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
82 stars 64 forks source link

Add max-models-per-batch parameter to dt models creation and fix test #638

Closed Elsie4ever closed 1 year ago

Elsie4ever commented 1 year ago

Upon investigation, the model create from directory was failing across multiple version of ubuntu and can be obeserved from multiple pipeline build, and reducing the max-models-per-batch default to 30 fix the issue(it will then take more time to make sure models are pull in right order) therefore to prevent the user from ubuntu encounter error when dt service is flaky in the future, adding this as a parameter that default to 30. Also added this value to environment variable so we can adjust it from pipeline if this issue happen again. Pipeline build: Ubuntu 18.04: https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7884&view=results Ubuntu 20.04: https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7831&view=results Ubuntu 22.04: https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7833&view=results

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).

vilit1 commented 1 year ago

Undo temp and then I will merge. It seems like something is off with dt endpoint create so I will investigate in a future pr to see if it is a service issue or something we need to fix

Elsie4ever commented 1 year ago

new pipeline build https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7909&view=results

digimaun commented 1 year ago

Why is this PR being used to apply feedback from an unrelated PR? A new PR can be made with follow ups.

Elsie4ever commented 1 year ago

Why is this PR being used to apply feedback from an unrelated PR? A new PR can be made with follow ups.

sorry, will create a new one😋

Elsie4ever commented 1 year ago

Pipeline run succeeded https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=7917&view=results