databricks-cli/bundle/config
Andrew Nester b14920cd12
Fixed error reporting when included invalid files in include section (#543)
## Changes
Fixed error reporting when included invalid files in include section

Case 1. When the file to include is invalid, throw an error
Case 2. When the file is loaded but the schema is wrong, indicate which
file is failed to load

## Tests

With non-existent notexists.yml

```
databricks bundle deploy
Error: notexists.yml defined in 'include' section does not match any files

```

With malformed notexists.yml
```
databricks bundle deploy
Error: failed to load /Users/andrew.nester/dabs/wheel/notexists.yml: error unmarshaling JSON: json: cannot unmarshal string into Go value of type config.Root
```
2023-07-07 10:22:58 +00:00
..
interpolation Update variable regex to support hyphens (#503) 2023-06-23 12:56:54 +02:00
mutator Fixed error reporting when included invalid files in include section (#543) 2023-07-07 10:22:58 +00:00
resources Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
testdata Detect duplicate identifiers in bundle config (#332) 2023-04-17 12:21:21 +02:00
variable Add config environment support for variable overriding (#383) 2023-05-15 14:07:18 +02:00
artifact.go Add readonly bundle tag for internal fields (#302) 2023-04-04 12:16:07 +02:00
bundle.go Add omitempty tag to bundle git details (#372) 2023-05-01 14:34:12 +02:00
environment.go Add config environment support for variable overriding (#383) 2023-05-15 14:07:18 +02:00
git.go Add git config block to bundle config (#356) 2023-04-26 16:54:36 +02: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 Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
resources_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root.go Fixed error reporting when included invalid files in include section (#543) 2023-07-07 10:22:58 +00:00
root_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
workspace.go Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00