databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Stop tracking file path locations in bundle resources #1673

Closed shreyas-goenka closed 1 month ago

shreyas-goenka commented 1 month ago

Changes

Since locations are already tracked in the dynamic value tree, we no longer need to track it at the resource/artifact level. This PR:

  1. Removes use of paths.Paths. Uses dyn.Location instead.
  2. Refactors the validation of resources not being empty valued to be generic across all resource types.

Tests

Existing unit tests.

shreyas-goenka commented 1 month ago

Triggered integration tests...

shreyas-goenka commented 1 month ago

Integration tests are green (mostly). The failures on GCP are unrelated to this PR.