Skip to content

Commit 33a489c

Browse files
bundle: rename use_deployment_metadata_service to experimental.record_deployment_history (#5397)
Renames the `experimental.use_deployment_metadata_service` config field to `experimental.record_deployment_history`. Changes: - `bundle/config/experimental.go`: Go field `UseDeploymentMetadataService` → `RecordDeploymentHistory`, JSON tag updated - `bundle/internal/schema/annotations.yml`: key and description updated - `bundle/schema/jsonschema.json`: regenerated
1 parent 4e25c5a commit 33a489c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

bundle/config/experimental.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ type Experimental struct {
4343
// at which point we can deprecate or remove this field all together.
4444
SkipNamePrefixForSchema bool `json:"skip_name_prefix_for_schema,omitempty"`
4545

46-
// UseDeploymentMetadataService opts the bundle into the deployment metadata
46+
// RecordDeploymentHistory opts the bundle into the deployment metadata
4747
// service (DMS), which records deployment history and tracks what changed
4848
// across deployments.
49-
UseDeploymentMetadataService bool `json:"use_deployment_metadata_service,omitempty"`
49+
RecordDeploymentHistory bool `json:"record_deployment_history,omitempty"`
5050
}
5151

5252
type Python struct {

bundle/internal/schema/annotations.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ github.com/databricks/cli/bundle/config.Experimental:
7575
"python_wheel_wrapper":
7676
"description": |-
7777
Whether to use a Python wheel wrapper.
78+
"record_deployment_history":
79+
"description": |-
80+
Whether to record deployment history using the deployment metadata service (DMS), which tracks what changed across deployments.
7881
"scripts":
7982
"description": |-
8083
The commands to run.
@@ -85,9 +88,6 @@ github.com/databricks/cli/bundle/config.Experimental:
8588
"description": |-
8689
Skip adding the prefix that is either set in `presets.name_prefix` or computed when `mode: development`
8790
is set, to the names of UC schemas defined in the bundle.
88-
"use_deployment_metadata_service":
89-
"description": |-
90-
Whether to use the deployment metadata service (DMS), which records deployment history and tracks what changed across deployments.
9191
"use_legacy_run_as":
9292
"description": |-
9393
Whether to use the legacy run_as behavior.

bundle/schema/jsonschema.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)