Commit Graph

4 Commits

Author SHA1 Message Date
Pieter Noordhuis 478b0eb60c
Fix template initialization when running on Databricks 2024-11-18 23:08:07 +01:00
Pieter Noordhuis 1d7862da7b
Update test assertion 2024-11-18 20:55:15 +01:00
Pieter Noordhuis 4621079f71
Read template from [fs.FS] instead of assuming local paths
This removes the need to pre-materialize built-in templates.
2024-11-18 17:32:02 +01:00
shreyas-goenka d9fe2ab43d
Improve error message when path is not a bundle template (#985)
Adds better error message when input path is not a bundle template

before:
```
shreyas.goenka@THW32HFW6T bricks % cli bundle init ~/bricks
Error: open /Users/shreyas.goenka/bricks/databricks_template_schema.json: no such file or directory
```

after:
```
shreyas.goenka@THW32HFW6T bricks % cli bundle init ~/bricks
Error: expected to find a template schema file at /Users/shreyas.goenka/bricks/databricks_template_schema.json
```
2023-11-22 12:25:16 +00:00