databricks-cli/integration/bundle
Pieter Noordhuis 626045a17e
Use regular expressions for testdiff replacements (#2151)
## Changes

Replacement was split between the type `ReplacementContext` and the
`ReplaceOutput` function. The latter also ran a couple of regular
expressions. This change consolidates them such that it is up to the
caller to compose the set of replacements to use.

This change is required to accommodate UUID replacement in #2146.
2025-01-15 12:15:23 +01:00
..
bundles Added support for Databricks Apps in DABs (#1928) 2025-01-13 16:43:48 +00:00
testdata Add `uuid` to builtin templates (#2088) 2025-01-09 18:19:34 +00:00
apps_test.go Fixed a typo in TestDeployBundleWithApp test (#2138) 2025-01-14 13:24:22 +00:00
artifacts_test.go Add validation mutator for volume `artifact_path` (#2050) 2025-01-02 17:23:15 +05:30
basic_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
bind_resource_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
clusters_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
dashboards_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
deploy_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
deploy_then_remove_resources_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_to_shared_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
deployment_state_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
destroy_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
empty_bundle_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
environments_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
generate_job_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
generate_pipeline_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
helpers_test.go Added support for Databricks Apps in DABs (#1928) 2025-01-13 16:43:48 +00:00
init_default_python_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
init_test.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
job_metadata_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
local_state_staleness_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
python_wheel_test.go Remove superfluous helper (#2028) 2024-12-17 17:34:09 +00:00
spark_jar_test.go Skip job runs during integration testing for PRs (#2024) 2024-12-17 17:16:58 +00:00
validate_test.go Remove calls to `testutil.GetEnvOrSkipTest(t, "CLOUD_ENV")` (#2014) 2024-12-13 16:09:51 +00:00