databricks-cli/bundle
Pieter Noordhuis 6e21ced54a
Consolidate bundle configuration loader function (#918)
## Changes

There were two functions related to loading a bundle configuration file;
one as a package function and one as a member function on the
configuration type. Loading the same configuration object twice doesn't
make sense and therefore we can consolidate to only using the package
function.

The package function would scan for known file names if the specified
path was a directory. This functionality was not in use because the
top-level bundle loader figures out the filename itself as of #580.

## Tests

Pass.
2023-10-25 12:55:56 +00:00
..
artifacts Support Python wheels larger than 10MB (#879) 2023-10-18 10:20:43 +00:00
config Consolidate bundle configuration loader function (#918) 2023-10-25 12:55:56 +00:00
deploy Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
deployer Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
env Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
internal/tf Propagate Terraform provider version into generated config (#874) 2023-10-16 15:27:46 +00:00
libraries Fixed using repo files as pipeline libraries (#847) 2023-10-09 10:10:28 +00:00
phases Added support for glob patterns in pipeline libraries section (#833) 2023-10-04 13:23:13 +00:00
python Fix wheel task not working with with 13.x clusters (#898) 2023-10-23 08:19:26 +00:00
run Increase timeout waiting for job run to 1 day (#786) 2023-09-19 19:54:24 +00:00
schema Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
scripts Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
tests Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
bundle.go Consolidate bundle configuration loader function (#918) 2023-10-25 12:55:56 +00:00
bundle_test.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +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 Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
root_test.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +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