databricks-cli/bundle
shreyas-goenka f00488d81d
Disallow notebooks in paths where files are expected (#573)
## Changes
Uploading a notebook strips it's file extension. This PR returns an
error if a notebook is specified where a file is expected. For example:
A spark python task in a job or `libraries.file.path` DLT library (where
instead `libraries.notebook.path` should be used

This PR also adds test coverage for the opposite case, when files are
not notebooks where notebooks are expected.

## Tests
Integration tests and manually
2023-07-12 12:25:00 +00:00
..
artifacts Bump github.com/databricks/databricks-sdk-go from 0.9.1-0.20230614092458-b5bbc1c8dabb to 0.10.0 (#497) 2023-06-21 07:43:07 +00:00
config Disallow notebooks in paths where files are expected (#573) 2023-07-12 12:25:00 +00:00
deploy Propagate TF_CLI_CONFIG_FILE env variable (#555) 2023-07-07 13:20:37 +02:00
deployer Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
internal/tf Update Terraform provider schema structs (#563) 2023-07-07 14:52:41 +02:00
phases Add development runs (#522) 2023-07-12 08:51:54 +02:00
run Add development runs (#522) 2023-07-12 08:51:54 +02:00
schema Update inline JSON schema documentation (#557) 2023-07-07 13:00:12 +00:00
tests Add development runs (#522) 2023-07-12 08:51:54 +02:00
bundle.go Application -> Asset (#529) 2023-06-27 01:31:20 +02:00
bundle_test.go Add DATABRICKS_BUNDLE_TMP env variable (#462) 2023-06-21 09:53:54 +02: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 Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02: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