databricks-cli/bundle/config
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
..
interpolation Update variable regex to support hyphens (#503) 2023-06-23 12:56:54 +02:00
mutator Fix bundle git branch validation (#645) 2023-08-07 17:29:02 +00:00
resources Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
testdata First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
variable Add config environment support for variable overriding (#383) 2023-05-15 14:07:18 +02:00
artifact.go Added support for build command chaining and error on missing wheel (#607) 2023-07-26 12:58:52 +00:00
bundle.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
environment.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
git.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
lock.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
lock_test.go Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
resources.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
resources_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
root_test.go First look for databricks.yml before falling back to bundle.yml (#580) 2023-07-18 12:16:34 +02:00
workspace.go Extend deployment mode support (#577) 2023-07-30 07:19:49 +00:00