fuzzylabs / matcha

A tool to provision MLOps environments in Azure
http://mymatcha.ai/
Apache License 2.0
30 stars 2 forks source link

[RPD-287] ZenML version inference for zenserver #180

Closed KirsoppJ closed 1 year ago

KirsoppJ commented 1 year ago

This PR has matcha look for a local install of zenml in the environment from which it was launched, then sets the version to be installed on the remote resources accordingly. If no installation is found, then the most recent release of zen server is installed instead.

Most of the changes are to terraform files, where a new variable has been introduced. On the python side, the version is passed to build_template_configuration after it is inferred by new infer_zenml_version function. This function also prints to the terminal information regarding the selected zenml version.

Checklist

Please ensure you have done the following:

Type of change

Tick all those that apply:

JonoCX commented 1 year ago

It'd be good if this branch could be merged into an improvement branch: fixes/ or similar

See Callum's Slack message about fixes/RPD-278