mirror of https://github.com/databricks/cli.git
e86a949d99
## Changes This PR adds the `bundle_uuid` helper function that'll return a stable identifier for the bundle for the duration of the `bundle init` command. This is also the UUID that'll be set in the telemetry event sent during `databricks bundle init` and would be used to correlate revenue from bundle init with resource deployments. Template authors should add the uuid field to their `databricks.yml` file they generate: ``` bundle: # A stable identified for your DAB project. We use this UUID in the Databricks backend # to correlate and identify multiple deployments of the same DAB project. uuid: {{ bundle_uuid }} ``` ## Tests Unit test |
||
---|---|---|
.. | ||
bundle-uuid | ||
config-assign-from-default-value | ||
config-assign-from-file | ||
config-assign-from-file-invalid-int | ||
config-assign-from-file-unknown-property | ||
config-assign-from-templated-default-value | ||
config-test-schema | ||
copy-file-walk/template | ||
empty | ||
executable-bit-read/template | ||
fail/template | ||
file-tree-rendering/template/{{.dir_name}} | ||
map-pair | ||
print-without-processing/template | ||
random-int/template | ||
regexp-compile/template | ||
skip/template | ||
skip-all-files-in-cwd/template | ||
skip-dir-eagerly/template | ||
skip-is-relative/template | ||
template-in-path | ||
urlparse-function/template | ||
uuid/template | ||
walk/template | ||
workspace-host/template |