databricks-cli/bundle
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
..
artifacts Auto detect Python wheel packages and infer build command (#603) 2023-07-26 10:07:26 +00:00
config Enable environment overrides for job clusters (#658) 2023-08-14 06:43:45 +00:00
deploy Print y/n options when displaying prompts using cmdio.Ask (#650) 2023-08-09 09:22:42 +00:00
deployer Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
internal/tf Regenerate bundle resource structs from latest terraform provider (#633) 2023-08-03 11:20:30 +00:00
libraries Fixed processing jobs libraries with remote path (#638) 2023-08-07 09:55:30 +00:00
phases Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
run Add development runs (#522) 2023-07-12 08:51:54 +02:00
schema Add internal tag for bundle fields to be skipped from schema (#636) 2023-08-10 10:03:52 +00:00
tests Enable environment overrides for job clusters (#658) 2023-08-14 06:43:45 +00:00
bundle.go Log the bundle root configuration file if applicable (#657) 2023-08-11 12:28:05 +00:00
bundle_test.go Log the bundle root configuration file if applicable (#657) 2023-08-11 12:28:05 +00:00
context.go Make sync command work in bundle context; reorder args (#207) 2023-02-20 11:33:30 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
deferred.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
deferred_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
root.go First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
root_test.go Log the bundle root configuration file if applicable (#657) 2023-08-11 12:28:05 +00:00
seq.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
seq_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00