From 603b407cf4f4ad0dc5e118c50060f0d527b35078 Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Thu, 31 Aug 2023 09:55:46 +0200 Subject: [PATCH] use default stack name --- template/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 - -