mirror of https://github.com/databricks/cli.git
1da04a4318
## Changes This PR: 1. Removes the custom added in https://github.com/databricks/cli/pull/1396/files for `variables.*.default`. It's no longer needed because with complex variables (https://github.com/databricks/cli/pull/1467) `default` has a type of any. 2. Retains, and extends the override on `targets.*.variables.*`. Target override values can now be complex objects, not just primitive values. ## Tests Manually Before: Only primitive types were allowed. <img width="436" alt="Screenshot 2024-06-27 at 3 58 34 PM" src="https://github.com/databricks/cli/assets/88374338/de55be5c-9236-4ccc-b529-97ce7201b8e8"> After: An empty JSON schema is generated. All YAML values are acceptable. <img width="453" alt="Screenshot 2024-06-27 at 3 57 15 PM" src="https://github.com/databricks/cli/assets/88374338/7534b770-563f-4efc-b9c6-0af526dcc705"> |
||
---|---|---|
.. | ||
debug | ||
deployment | ||
generate | ||
utils | ||
bundle.go | ||
debug.go | ||
deploy.go | ||
destroy.go | ||
generate.go | ||
init.go | ||
init_test.go | ||
launch.go | ||
run.go | ||
schema.go | ||
summary.go | ||
sync.go | ||
test.go | ||
validate.go | ||
variables.go |