databricks-cli/integration/bundle/bundles
Anton Nekipelov c0f5436a28
Add support for schemas in deployment bind/unbind commands (#2406)
## Changes
1. Changed `FindResourceByConfigKey` to return schema resources
2. Implemented the `Exists` method for schema resources

## Why
This PR adds support for schema resources in deployment operations,
enabling users to:
- Bind schemas using `databricks bundle deployment bind <myschema_key>
<schema_full_name>`
- Unbind schemas using `databricks bundle deployment unbind
<myschema_key>`

Where:
- `myschema_key` is a resource key defined in the bundle's .yml file
- `schema_full_name` references an existing schema in the Databricks
workspace

These capabilities allow for more flexible resource management of
schemas within bundles.

## Tests

Added a new integration test that tests bind and unbind methods together
with bundle deployment and destruction.
2025-03-04 12:46:39 +00:00
..
apps Update app deploy test to confirm app config changes on redeploy (#2301) 2025-02-07 14:54:24 +00:00
artifact_path_with_volume Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
basic Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
basic_with_variables Added support for double underscore variable references (#2203) 2025-01-29 13:38:28 +00:00
clusters Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
dashboards Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
deploy_then_remove_resources Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
job_metadata Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
python_wheel_task Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
python_wheel_task_with_cluster Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
python_wheel_task_with_environments Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
recreate_pipeline Add a unique schema for recreate pipeline test (#2159) 2025-01-15 17:22:45 +00:00
spark_jar_task Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
uc_schema Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
uc_schema_only Add support for schemas in deployment bind/unbind commands (#2406) 2025-03-04 12:46:39 +00:00
volume Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
with_includes Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00