From e268b182998efd25824ec6f452af92d0617f8e5e Mon Sep 17 00:00:00 2001 From: Arpit Jasapara <87999496+arpitjasa-db@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:53:14 -0800 Subject: [PATCH] Increment and standardize Stacks version (#150) --- library/template_variables.tmpl | 4 ++++ .../resources/README.md.tmpl | 4 ++-- .../resources/batch-inference-workflow-resource.yml.tmpl | 2 +- .../resources/feature-engineering-workflow-resource.yml.tmpl | 2 +- .../resources/model-workflow-resource.yml.tmpl | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/library/template_variables.tmpl b/library/template_variables.tmpl index 0f482f9d..586dc80d 100644 --- a/library/template_variables.tmpl +++ b/library/template_variables.tmpl @@ -53,3 +53,7 @@ {{ define `cli_version` -}} v0.212.2 {{- end }} + +{{ define `stacks_version` -}} + 0.3 +{{- end }} diff --git a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/README.md.tmpl b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/README.md.tmpl index be303306..69c1dcb0 100644 --- a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/README.md.tmpl +++ b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/README.md.tmpl @@ -155,7 +155,7 @@ new_cluster: &new_cluster spark_version: 13.3.x-cpu-ml-scala2.12 node_type_id: {{template `cloud_specific_node_type_id` .}} custom_tags: - clusterSource: mlops-stack/0.2 + clusterSource: mlops-stacks_{{template `stacks_version` .}} resources: jobs: @@ -210,7 +210,7 @@ new_cluster: &new_cluster spark_version: 13.3.x-cpu-ml-scala2.12 node_type_id: {{template `cloud_specific_node_type_id` .}} custom_tags: - clusterSource: mlops-stack/0.2 + clusterSource: mlops-stacks_{{template `stacks_version` .}} resources: jobs: diff --git a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/batch-inference-workflow-resource.yml.tmpl b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/batch-inference-workflow-resource.yml.tmpl index b9703fce..d04db8fb 100644 --- a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/batch-inference-workflow-resource.yml.tmpl +++ b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/batch-inference-workflow-resource.yml.tmpl @@ -4,7 +4,7 @@ new_cluster: &new_cluster spark_version: 13.3.x-cpu-ml-scala2.12 node_type_id: {{template `cloud_specific_node_type_id` .}} custom_tags: - clusterSource: mlops-stack/0.2 + clusterSource: mlops-stacks_{{template `stacks_version` .}} common_permissions: &permissions permissions: diff --git a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/feature-engineering-workflow-resource.yml.tmpl b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/feature-engineering-workflow-resource.yml.tmpl index 5f22c602..f40be538 100644 --- a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/feature-engineering-workflow-resource.yml.tmpl +++ b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/feature-engineering-workflow-resource.yml.tmpl @@ -4,7 +4,7 @@ new_cluster: &new_cluster spark_version: 13.3.x-cpu-ml-scala2.12 node_type_id: {{template `cloud_specific_node_type_id` .}} custom_tags: - clusterSource: mlops-stack/0.2 + clusterSource: mlops-stacks_{{template `stacks_version` .}} common_permissions: &permissions permissions: diff --git a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/model-workflow-resource.yml.tmpl b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/model-workflow-resource.yml.tmpl index 10e8e7bc..fdfeb724 100644 --- a/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/model-workflow-resource.yml.tmpl +++ b/template/{{.input_root_dir}}/{{template `project_name_alphanumeric_underscore` .}}/resources/model-workflow-resource.yml.tmpl @@ -4,7 +4,7 @@ new_cluster: &new_cluster spark_version: 13.3.x-cpu-ml-scala2.12 node_type_id: {{template `cloud_specific_node_type_id` .}} custom_tags: - clusterSource: mlops-stack/0.2 + clusterSource: mlops-stacks_{{template `stacks_version` .}} common_permissions: &permissions permissions: