databricks-cli/bundle/tests/variables
Andrew Nester 72030844c5
Fixed variable override in target with full variable syntax (#1749)
## Changes
This PR makes sure that both of this override syntax for variables work
correctly
```
targets:
  dev:
    variables:
      cluster1:
        spark_version: "14.2.x-scala2.11"
        node_type_id: "Standard_DS3_v2"
        num_workers: 4
        spark_conf:
          spark.speculation: false
          spark.databricks.delta.retentionDurationCheck.enabled: false
      cluster2:
        default:
          spark_version: "14.2.x-scala2.11"
          node_type_id: "Standard_DS3_v2"
          num_workers: 4
          spark_conf:
            spark.speculation: false
            spark.databricks.delta.retentionDurationCheck.enabled: false
```
## Tests
Added regression test

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-09-04 17:16:40 +00:00
..
complex Override complex variables with target overrides instead of merging (#1567) 2024-07-04 11:57:29 +00:00
complex_multiple_files Fixed variable override in target with full variable syntax (#1749) 2024-09-04 17:16:40 +00:00
empty Fixed bundle not loading when empty variable is defined (#1552) 2024-07-02 12:40:39 +00:00
env_overrides Override variables with lookup value even if values has default value set (#1504) 2024-06-19 08:03:06 +00:00
vanilla First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
variable_overrides_in_target Fix variable overrides in targets for non-string variables (#1397) 2024-04-25 11:21:10 +00:00
without_definition Initialize variable definitions that are defined without properties (#966) 2023-11-08 11:01:14 +00:00