diff --git a/README.md b/README.md index 610a415c..41f26eb9 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ https://github.com/databricks/mlops-stacks/assets/87999496/0d220d55-465e-4a69-bd ### Prerequisites - Python 3.8+ - - [Databricks CLI](https://docs.databricks.com/en/dev-tools/cli/databricks-cli.html) >= v0.221.0 + - [Databricks CLI](https://docs.databricks.com/en/dev-tools/cli/databricks-cli.html) >= v0.227.1 [Databricks CLI](https://docs.databricks.com/en/dev-tools/cli/databricks-cli.html) contains [Databricks asset bundle templates](https://docs.databricks.com/en/dev-tools/bundles/templates.html) for the purpose of project creation. diff --git a/databricks_template_schema.json b/databricks_template_schema.json index f845ef34..b777760b 100644 --- a/databricks_template_schema.json +++ b/databricks_template_schema.json @@ -1,6 +1,6 @@ { "welcome_message": "Welcome to MLOps Stacks. For detailed information on project generation, see the README at https://github.com/databricks/mlops-stacks/blob/main/README.md.", - "min_databricks_cli_version": "v0.221.0", + "min_databricks_cli_version": "v0.227.1", "properties": { "input_setup_cicd_and_project": { "order": 1, diff --git a/library/template_variables.tmpl b/library/template_variables.tmpl index c3106f4a..59adc594 100644 --- a/library/template_variables.tmpl +++ b/library/template_variables.tmpl @@ -57,7 +57,7 @@ {{- end }} {{ define `cli_version` -}} - v0.221.0 + v0.227.1 {{- end }} {{ define `stacks_version` -}} diff --git a/template/{{.input_root_dir}}/.stacks_metadata.yml.tmpl b/template/{{.input_root_dir}}/.stacks_metadata.yml.tmpl new file mode 100644 index 00000000..945501dc --- /dev/null +++ b/template/{{.input_root_dir}}/.stacks_metadata.yml.tmpl @@ -0,0 +1,11 @@ +# DO NOT MODIFY THIS AUTO-GENERATED FILE. +# MODIFYING THIS FILE MAY CAUSE YOUR STACK TO NOT FUNCTION PROPERLY +uuid: "{{ uuid }}" +input_setup_cicd_and_project: "{{ .input_setup_cicd_and_project }}" +input_cloud: "{{ .input_cloud }}" +input_cicd_platform: "{{ .input_cicd_platform }}" +input_include_models_in_unity_catalog: "{{ .input_include_models_in_unity_catalog }}" +input_include_feature_store: "{{ .input_include_feature_store }}" +input_include_mlflow_recipes: "{{ .input_include_mlflow_recipes }}" +input_cli_version: "{{template `cli_version` .}}" +stacks_version: "{{template `stacks_version` .}}" \ No newline at end of file diff --git a/tests/install.sh b/tests/install.sh index 8d0f4b8a..1c831dc7 100755 --- a/tests/install.sh +++ b/tests/install.sh @@ -4,7 +4,7 @@ # Usage in the wild uses the "curl | sh" approach and we need that to continue working. set -e -VERSION="0.221.0" +VERSION="0.227.1" FILE="databricks_cli_$VERSION" # Include operating system in file name.