mirror of https://github.com/databricks/cli.git
Adds repls for window paths
This commit is contained in:
parent
49d32741b4
commit
934d206db0
|
@ -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
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue