databricks-cli/bundle/tests/bundle
Andrew Nester 833746cbdd
Do not replace pipeline libraries if there are no matches for pattern (#1021)
## Changes
If there are no matches when doing Glob call for pipeline library
defined, leave the entry as is.
The next mutators in the chain will detect that file is missing and the
error will be more user friendly.


Before the change

```
Starting resource deployment
Error: terraform apply: exit status 1

Error: cannot create pipeline: libraries must contain at least one element
```

After

```
Error: notebook ./non-existent not found
```


## Tests
Added regression unit tests
2023-11-29 13:20:13 +00:00
..
pipeline_glob_paths Do not replace pipeline libraries if there are no matches for pattern (#1021) 2023-11-29 13:20:13 +00:00
python_wheel Fixed processing jobs libraries with remote path (#638) 2023-08-07 09:55:30 +00:00
python_wheel_dbfs_lib Fixed marking libraries from DBFS as remote (#750) 2023-09-08 09:53:57 +00:00
python_wheel_no_artifact Fixed processing jobs libraries with remote path (#638) 2023-08-07 09:55:30 +00:00
python_wheel_no_artifact_no_setup Allow referencing local Python wheels without artifacts section defined (#703) 2023-08-28 16:29:04 +00:00
pipeline_glob_paths_test.go Do not replace pipeline libraries if there are no matches for pattern (#1021) 2023-11-29 13:20:13 +00:00
wheel_test.go Replace direct calls with `bundle.Apply` (#990) 2023-11-15 14:19:18 +00:00