mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Unnecessary param in `mlem create deployment`

Open aguschin opened this issue 2 years ago • 4 comments

If you already created an env, why you should specify this again when creating deploy? Example:

$ mlem create env heroku staging  # note HEROKU
💾 Saving env to staging.mlem

$ mlem create deployment heroku myservice -c app_name=mlem-quick-start -c model=rf -c env=staging  # HEROKU again
💾 Saving deployment to myservice.mlem

Seems like unnecessary duplication, but maybe I'm missing something.

aguschin avatar May 06 '22 17:05 aguschin

related to #233

aguschin avatar May 11 '22 10:05 aguschin

May be related to #267 as well.

jorgeorpinel avatar May 24 '22 07:05 jorgeorpinel

May be fixed by #363

aguschin avatar Aug 31 '22 11:08 aguschin

It will be partly fixed. It will allow to skip env entirely, but if you want to set up some env params, you will probably still need to specify env type

mike0sv avatar Sep 01 '22 21:09 mike0sv