databricks-cli/bundle/deploy/metadata
shreyas-goenka 507053ee50
Annotate DLT pipelines when deployed using DABs (#1410)
## Changes
This PR annotates any pipelines that were deployed using DABs to have
`deployment.kind` set to "BUNDLE", mirroring the annotation for Jobs
(similar PR for jobs FYI: https://github.com/databricks/cli/pull/880).

Breakglass UI is not yet available for pipelines, so this annotation
will just be used for revenue attribution ATM.

Note: The API field has been deployed in all regions including GovCloud.

## Tests
Unit tests and manually.

Manually verified that the kind and metadata_file_path are being set by
DABs, and are returned by a GET API to a pipeline deployed using a DAB.
Example:
```
    "deployment": {
      "kind":"BUNDLE",
      "metadata_file_path":"/Users/shreyas.goenka@databricks.com/.bundle/bundle-playground/default/state/metadata.json"
    },
```
2024-05-01 08:37:03 +00:00
..
annotate_jobs.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
annotate_jobs_test.go Bump github.com/databricks/databricks-sdk-go from 0.36.0 to 0.37.0 (#1326) 2024-04-03 10:39:53 +00:00
annotate_pipelines.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
annotate_pipelines_test.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00
compute.go Move path field to bundle type (#1316) 2024-03-27 09:03:24 +00:00
compute_test.go Return `diag.Diagnostics` from mutators (#1305) 2024-03-25 14:18:47 +00:00
upload.go Annotate DLT pipelines when deployed using DABs (#1410) 2024-05-01 08:37:03 +00:00