From 7a049677bd8ba214e01c6f068c92c5fe431a5fac Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Thu, 31 Aug 2023 09:56:22 +0200 Subject: [PATCH] use default stack name (#6) --- 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 - -