Adds repls for window paths

This commit is contained in:
Ilya Kuznetsov 2025-01-28 17:41:18 +01:00
parent 49d32741b4
commit 934d206db0
No known key found for this signature in database
GPG Key ID: 91F3DDCF5D21CDDF
2 changed files with 6 additions and 2 deletions

View File

@ -15,10 +15,10 @@ title "variable has value in config file"
trace $CLI bundle validate -o json --target with_value | jq $cluster_expr trace $CLI bundle validate -o json --target with_value | jq $cluster_expr
title "file cannot be parsed" title "file cannot be parsed"
trace errcode $CLI bundle validate -o json --target invalid_json | jq $cluster_expr | sed 's/\\/\//g' trace errcode $CLI bundle validate -o json --target invalid_json | jq $cluster_expr
title "file has wrong structure" title "file has wrong structure"
trace errcode $CLI bundle validate -o json --target wrong_file_structure | jq $cluster_expr | sed 's/\\/\//g' trace errcode $CLI bundle validate -o json --target wrong_file_structure | jq $cluster_expr
title "file has variable that is complex but default is string" title "file has variable that is complex but default is string"
trace errcode $CLI bundle validate -o json --target complex_to_string | jq $cluster_expr trace errcode $CLI bundle validate -o json --target complex_to_string | jq $cluster_expr

View File

@ -0,0 +1,4 @@
# Fix for windows
[[Repls]]
Old = '$TMPDIR\.databricks\bundle\wrong_file_structure\variable-overrides.json'
New = '$TMPDIR/.databricks/bundle/wrong_file_structure/variable-overrides.json'