databricks-cli/bundle/config
Pieter Noordhuis 97699b849f
Enable environment overrides for job clusters (#658)
## Changes

While they are a slice, we can identify a job cluster by its job cluster
key. A job definition with multiple job clusters with the same key is
always invalid. We can therefore merge definitions with the same key
into one. This is compatible with how environment overrides are applied;
merging a slice means appending to it. The override will end up in the
job cluster slice of the original, which gives us a deterministic way to
merge them.

Since the alternative is an invalid configuration, this doesn't change
behavior.

## Tests

New test coverage.
2023-08-14 06:43:45 +00:00
..
interpolation Update variable regex to support hyphens (#503) 2023-06-23 12:56:54 +02:00
mutator Fix bundle git branch validation (#645) 2023-08-07 17:29:02 +00:00
resources Enable environment overrides for job clusters (#658) 2023-08-14 06:43:45 +00:00
testdata First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
variable Add config environment support for variable overriding (#383) 2023-05-15 14:07:18 +02:00
artifact.go Added support for build command chaining and error on missing wheel (#607) 2023-07-26 12:58:52 +00:00
bundle.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
environment.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
git.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
lock.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
lock_test.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
resources.go Enable environment overrides for job clusters (#658) 2023-08-14 06:43:45 +00:00
resources_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root.go Enable environment overrides for job clusters (#658) 2023-08-14 06:43:45 +00:00
root_test.go First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
workspace.go Add internal tag for bundle fields to be skipped from schema (#636) 2023-08-10 10:03:52 +00:00