mirror of https://github.com/databricks/cli.git
6141476ca2
## Changes Added support for `bundle.Seq`, simplified `Mutator.Apply` interface by removing list of mutators from return values/ ## Tests 1. Ran `cli bundle deploy` and interrupted it with Cmd + C mid execution so lock is not released 2. Ran `cli bundle deploy` top make sure that CLI is not trying to release lock when it fail to acquire it ``` andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy Starting upload of bundle files Uploaded bundle files at /Users/andrew.nester@databricks.com/.bundle/simple-task/development/files! ^C andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy Error: deploy lock acquired by andrew.nester@databricks.com at 2023-05-24 12:10:23.050343 +0200 CEST. Use --force to override ``` |
||
---|---|---|
.. | ||
autoload_git | ||
basic | ||
conflicting_resource_ids | ||
environment_overrides | ||
include_default | ||
include_override | ||
interpolation | ||
job_and_pipeline | ||
variables | ||
yaml_anchors | ||
README.md | ||
autoload_git_test.go | ||
basic_test.go | ||
conflicting_resource_ids_test.go | ||
environment_overrides_test.go | ||
include_default_test.go | ||
include_override_test.go | ||
interpolation_test.go | ||
job_and_pipeline_test.go | ||
loader.go | ||
variables_test.go | ||
yaml_anchors_test.go |
README.md
Bundle configuration tests
Every test here uses an example bundle configuration. Each bundle configuration is located in a dedicated subdirectory.