databricks-cli/libs
shreyas-goenka d6f626912f
Fix bundle git branch validation (#645)
## Changes
This PR:
1. Fixes the computation logic for `ActualBranch`. An error in the
earlier logic caused the validation mutator to be a no-op.
2. Makes the `.git` string a global var. This is useful to configure in
tests.
3. Adds e2e test for the validation mutator.

## Tests
Unit test
2023-08-07 17:29:02 +00:00
..
auth Added prompts for Databricks profile for auth login command (#502) 2023-06-21 12:58:28 +02:00
cmdio Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00
databrickscfg Correctly use --profile flag passed for all bundle commands (#571) 2023-07-12 14:09:25 +02:00
errs Added ability for deferred mutator execution (#380) 2023-05-16 18:01:50 +02:00
filer Make local files default for fs commands (#506) 2023-06-23 16:07:09 +02:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Add mode default as a valid set value for progress-format flag (#472) 2023-06-14 13:26:56 +02:00
git Fix bundle git branch validation (#645) 2023-08-07 17:29:02 +00:00
jsonschema Add JSON schema validation for input template parameters (#598) 2023-08-01 14:09:27 +00:00
locker Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
log Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Extend deployment mode support (#577) 2023-07-30 07:19:49 +00:00
template Add bundle init command and support for prompting user for input values (#631) 2023-08-07 13:14:25 +00:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00