databricks-cli/bundle/tests
Pieter Noordhuis fae1b6742d
Update target references to use `${bundle.target}` (#1935)
## Changes

The built-in template contains a reference to `${bundle.environment}`.

This property has been deprecated in favor of `${bundle.target}` a long
time ago (#670), so we should no longer emit it. The environment field
will continue to be usable until we cut a new major version in some far
away future.

## Tests

* Unit tests
* The test `TestInterpolationWithTarget` still covers correct
interpolation of `${bundle.environment}`
2024-11-27 11:51:08 +00:00
..
autoload_git
basic
bundle_permissions
clusters Added support for creating all-purpose clusters (#1698) 2024-09-23 10:42:34 +00:00
environment_key_only Fixed seg fault when specifying environment key for tasks (#1443) 2024-05-21 10:00:04 +00:00
environment_overrides
environments_autoload_git
environments_job_and_pipeline
environments_override_job_cluster
git_branch_validation
include_default
include_invalid
include_multiple Fixed panic when loading incorrectly defined jobs (#1402) 2024-05-17 10:10:17 +00:00
include_with_glob Fixed panic when loading incorrectly defined jobs (#1402) 2024-05-17 10:10:17 +00:00
interpolation
interpolation_target
issue_1828 Handle normalization of `dyn.KindTime` into an any type (#1836) 2024-10-17 10:00:40 +00:00
job_and_pipeline
job_cluster_key
job_with_spark_conf
model_serving_endpoint
override_job_cluster
override_job_parameters Merge job parameters based on their name (#1659) 2024-08-06 16:12:18 +00:00
override_job_tasks
override_pipeline_cluster
path_translation
pipeline_glob_paths
presets Add configurable presets for name prefixes, tags, etc. (#1490) 2024-08-19 18:18:50 +00:00
python_wheel Update target references to use `${bundle.target}` (#1935) 2024-11-27 11:51:08 +00:00
quality_monitor Pause quality monitors when "mode: development" is used (#1481) 2024-06-19 13:54:35 +00:00
registered_model
relative_path_translation
relative_path_with_includes
run_as Compare `.Kind()` instead of direct equality checks on a `dyn.Value` (#1520) 2024-06-27 13:28:19 +00:00
sync Add paths field to bundle sync configuration (#1694) 2024-08-21 15:33:25 +00:00
target_empty
target_overrides
undefined_resources Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
validate Use dynamic walking to validate unique resource keys (#1614) 2024-07-29 13:04:02 +00:00
variables Fixed detecting full syntax variable override which includes type field (#1775) 2024-09-18 10:23:07 +00:00
yaml_anchors
yaml_anchors_separate_block
README.md
basic_test.go
bundle_permissions_test.go
clusters_test.go Added support for creating all-purpose clusters (#1698) 2024-09-23 10:42:34 +00:00
complex_variables_test.go Fixed detecting full syntax variable override which includes type field (#1775) 2024-09-18 10:23:07 +00:00
enviroment_key_test.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00
environment_git_test.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
environment_overrides_test.go
environments_job_and_pipeline_test.go Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
environments_override_job_cluster_test.go
git_test.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
include_test.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
interpolation_test.go
issue_1828_test.go Handle normalization of `dyn.KindTime` into an any type (#1836) 2024-10-17 10:00:40 +00:00
job_and_pipeline_test.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
job_cluster_key_test.go
job_with_spark_conf_test.go
loader.go Add paths field to bundle sync configuration (#1694) 2024-08-21 15:33:25 +00:00
model_serving_endpoint_test.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
override_job_cluster_test.go
override_job_parameters_test.go Merge job parameters based on their name (#1659) 2024-08-06 16:12:18 +00:00
override_job_tasks_test.go
override_pipeline_cluster_test.go
path_translation_test.go
pipeline_glob_paths_test.go Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
presets_test.go Add configurable presets for name prefixes, tags, etc. (#1490) 2024-08-19 18:18:50 +00:00
python_wheel_test.go Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +00:00
quality_monitor_test.go Pause quality monitors when "mode: development" is used (#1481) 2024-06-19 13:54:35 +00:00
registered_model_test.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
relative_path_translation_test.go Always prepend bundle remote paths with /Workspace (#1724) 2024-10-02 15:34:00 +00:00
relative_path_with_includes_test.go
run_as_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
suggest_target_test.go Improve `bundle validate` output (#1532) 2024-07-01 09:01:10 +00:00
sync_include_exclude_no_matches_test.go Added test for negation pattern in sync include exclude section (#1637) 2024-07-31 13:42:23 +00:00
sync_test.go Add paths field to bundle sync configuration (#1694) 2024-08-21 15:33:25 +00:00
target_empty_test.go
target_overrides_test.go
undefined_resources_test.go Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
validate_test.go Use dynamic walking to validate unique resource keys (#1614) 2024-07-29 13:04:02 +00:00
variables_test.go Added listing cluster filtering for cluster lookups (#1754) 2024-09-06 11:34:57 +00:00
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.