Add `uuid` to builtin templates (#2088)

## Changes
This is useful to track telemetry associated with the templates and can
later be useful for functional usecases as well. Mlops stacks does the
same here: https://github.com/databricks/mlops-stacks/pull/185

## Tests
Existing tests.
This commit is contained in:
shreyas-goenka 2025-01-09 23:49:34 +05:30 committed by GitHub
parent a0455bcaef
commit b0c1c23630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,8 @@
"lock": { "lock": {
"enabled": false "enabled": false
} }
} },
"uuid": "<UUID>"
}, },
"include": [ "include": [
"resources/project_name_$UNIQUE_PRJ.job.yml", "resources/project_name_$UNIQUE_PRJ.job.yml",

View File

@ -3,6 +3,7 @@
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation. # See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle: bundle:
name: {{.project_name}} name: {{.project_name}}
uuid: {{bundle_uuid}}
include: include:
- resources/*.yml - resources/*.yml

View File

@ -2,6 +2,7 @@
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation. # See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle: bundle:
name: {{.project_name}} name: {{.project_name}}
uuid: {{bundle_uuid}}
include: include:
- resources/*.yml - resources/*.yml

View File

@ -2,6 +2,7 @@
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation. # See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle: bundle:
name: {{.project_name}} name: {{.project_name}}
uuid: {{bundle_uuid}}
include: include:
- resources/*.yml - resources/*.yml