databricks-cli/libs/template/testdata
shreyas-goenka b50380471e
Allow unknown properties in the config file for template initialization (#1315)
## Changes
Before we would error if a property was defined in the config file, that
was not defined in the schema.

## Tests
Unit tests. Also manually that the e2e flow works file.

Before:
```
shreyas.goenka@THW32HFW6T playground % cli bundle init default-python --config-file config.json

Welcome to the default Python template for Databricks Asset Bundles!
Error: failed to load config from file config.json: property include_pytho is not defined in the schema
```

After:
```
shreyas.goenka@THW32HFW6T playground % cli bundle init default-python --config-file config.json

Welcome to the default Python template for Databricks Asset Bundles!
Workspace to use (auto-detected, edit in 'test/databricks.yml'): https://dbc-a39a1eb1-ef95.cloud.databricks.com

 Your new project has been created in the 'test' directory!

Please refer to the README.md file for "getting started" instructions.
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.
```
2024-03-26 13:02:09 +00:00
..
config-assign-from-file Add bundle init command and support for prompting user for input values (#631) 2023-08-07 13:14:25 +00:00
config-assign-from-file-invalid-int Add bundle init command and support for prompting user for input values (#631) 2023-08-07 13:14:25 +00:00
config-assign-from-file-unknown-property Allow unknown properties in the config file for template initialization (#1315) 2024-03-26 13:02:09 +00:00
config-test-schema Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
copy-file-walk/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
email Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
executable-bit-read/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
fail/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
file-tree-rendering/template/{{.dir_name}} Add unit test for file name execution during rendering (#640) 2023-08-07 12:44:01 +00:00
map-pair Add map and pair helper functions for bundle templates (#665) 2023-08-15 16:07:22 +00:00
print-without-processing/template Add unit test that raw strings are printed as is (#599) 2023-07-25 17:18:43 +02:00
regexp-compile/template Add regexp compile helper function for templates (#601) 2023-07-25 16:42:53 +02:00
skip/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
skip-all-files-in-cwd/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
skip-dir-eagerly/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
skip-is-relative/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
template-in-path Execute paths without the .tmpl extension as templates (#654) 2023-08-11 13:48:32 +00:00
templated-defaults Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
urlparse-function/template Add url parse helper function for templates (#600) 2023-07-27 09:51:31 +00:00
walk/template Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
workspace-host/template Add a foundation for built-in templates (#685) 2023-08-25 09:03:42 +00:00