Skip to content

Commit

Permalink
Add bundle UUID and other metadata (#185)
Browse files Browse the repository at this point in the history
* Add bundle UUID and other metadata

* remove template field

* remove recipes tests by default
  • Loading branch information
arpitjasa-db authored Jan 2, 2025
1 parent 4d5ef6f commit 439ef6c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.236.0

[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.

Expand Down
2 changes: 1 addition & 1 deletion databricks_template_schema.json
Original file line number Diff line number Diff line change
@@ -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.236.0",
"properties": {
"input_setup_cicd_and_project": {
"order": 1,
Expand Down
2 changes: 1 addition & 1 deletion library/template_variables.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{{- end }}

{{ define `cli_version` -}}
v0.221.0
v0.236.0
{{- end }}

{{ define `stacks_version` -}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# The name of the bundle. run `databricks bundle schema` to see the full bundle settings schema.
bundle:
# Do not modify the below line, this autogenerated field is used by the Databricks backend.
uuid: {{ bundle_uuid }}

name: {{ .input_project_name }}

variables:
Expand Down
2 changes: 1 addition & 1 deletion tests/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.236.0"
FILE="databricks_cli_$VERSION"

# Include operating system in file name.
Expand Down
1 change: 0 additions & 1 deletion tests/test_github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def test_generated_yaml_format(
[
("CICD_and_Project", "no", "no", "no"),
("CICD_and_Project", "no", "no", "yes"),
("CICD_and_Project", "no", "yes", "no"),
("CICD_and_Project", "yes", "no", "no"),
("CICD_and_Project", "yes", "no", "yes"),
],
Expand Down

0 comments on commit 439ef6c

Please sign in to comment.