diff --git a/template/Makefile b/template/Makefile index 2edb8df..3f0ab4a 100644 --- a/template/Makefile +++ b/template/Makefile @@ -1,3 +1,5 @@ +stack_name ?= e2e_template_stack + {%- if zenml_server_url != '' %} remote-login: zenml connect --url "{{zenml_server_url}}" @@ -10,7 +12,7 @@ setup: zenml integration install sklearn mlflow s3 kubernetes kubeflow slack evidently -y install-stack: - @echo "Specify stack name: " && read stack_name && \ + @echo "Specify stack name [$(stack_name)]: " && read input && [ -n "$$input" ] && stack_name="$$input" || stack_name="$(stack_name)" && \ zenml experiment-tracker register -f mlflow mlflow_local_$${stack_name} && \ zenml model-registry register -f mlflow mlflow_local_$${stack_name} && \ zenml model-deployer register -f mlflow mlflow_local_$${stack_name} && \ @@ -20,5 +22,3 @@ install-stack: evidently_$${stack_name} $${stack_name} && \ zenml stack set $${stack_name} && \ zenml stack up - -