databricks-cli/internal/bundle
Pieter Noordhuis b64e11304c
Fix integration test with invalid configuration (#1182)
## Changes

The indentation mistake on the `path` field under `notebook` meant the
pipeline had a single entry with a `nil` notebook field. This was
allowed but incorrect.

While working on the `dyn.Value` approach, this yielded a non-nil but
zeroed `notebook` field and a failure to translate an empty path.

## Tests

Correcting the indentation made the test fail because the file is not a
notebook. I changed it to a `file` reference and the test now passes.
2024-02-07 10:53:50 +00:00
..
bundles Fix integration test with invalid configuration (#1182) 2024-02-07 10:53:50 +00:00
artifacts_test.go Refactor library to artifact matching to not use pointers (#1172) 2024-02-05 15:29:45 +00:00
deploy_then_remove_resources_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
empty_bundle_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
generate_job_test.go Add `--key` flag for generate commands to specify resource key (#1165) 2024-01-31 10:23:35 +00:00
generate_pipeline_test.go Add `--key` flag for generate commands to specify resource key (#1165) 2024-01-31 10:23:35 +00:00
helpers.go Pass parameters to task when run with `--python-params` and `python_wheel_wrapper` is true (#1037) 2023-12-01 10:35:20 +00:00
job_metadata_test.go Make `file_path` and `artifact_path` fields consistent with json tag (#987) 2023-11-15 13:37:26 +00:00
local_state_staleness_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
python_wheel_test.go Pass parameters to task when run with `--python-params` and `python_wheel_wrapper` is true (#1037) 2023-12-01 10:35:20 +00:00