mirror of https://github.com/databricks/cli.git
## Changes This PR also starts storing the DBR versions in the context. Go patch file used: ``` @@ var x expression @@ -dbr.MockRuntime(x, true) +dbr.MockRuntime(x, dbr.Environment{IsDbr: true, Version: "15.4"}) @@ var x expression @@ -dbr.MockRuntime(x, false) +dbr.MockRuntime(x, dbr.Environment{}) ``` ref: https://github.com/uber-go/gopatch ## Why This localised all DBR version accesses to `libs/dbr`. Relevant comment: https://github.com/databricks/cli/pull/2432#discussion_r1982878616 ## Tests Exiting tests are modified. |
||
---|---|---|
.. | ||
templates | ||
testdata | ||
builtin.go | ||
builtin_test.go | ||
config.go | ||
config_test.go | ||
file.go | ||
file_test.go | ||
helpers.go | ||
helpers_test.go | ||
reader.go | ||
reader_test.go | ||
renderer.go | ||
renderer_test.go | ||
resolver.go | ||
resolver_test.go | ||
template.go | ||
template_test.go | ||
writer.go | ||
writer_test.go |