To upgrade:
http_archive(
name = "rules_databricks",
urls = [
"https://github.com/acqio/rules_databricks/archive/v0.7.tar.gz"
],
sha256 = "0dac1ed6383a8a56988e5254401a718a7805abfc18ecee5db04f43d07c62a056",
strip_prefix = "rules_databricks-0.7",
)
load("@rules_databricks//databricks:repositories.bzl", databricks_repositories = "repositories")
databricks_repositories()
load("@rules_databricks//databricks:deps.bzl", databricks_deps = "deps")
databricks_deps()
register_toolchains("@rules_databricks//databricks/toolchain:default_linux_toolchain")
NOTE: This version depends on the rules_python rule in version 0.1.0. So the configuration for python dependencies has been deprecated:
load("@rules_databricks//databricks:pip_repositories.bzl", databricks_pip_deps = "pip_deps")
databricks_pip_deps()
New features
Features
- Support for stamp and make variables in the
cluster_name
attribute of thedbk_libraries
rule; - dbk_configure is now also a repository rule;
- Added configuration for setting variables in the toolchain. (41ef1c6)
Changes
- Updating databricks_cli from version 0.11.0 to 0.14.0 and rules_python from version 0.0.1 to 0.1.0; (5e46880b)
- All rules had the suffix
databricks_
changed todbk_
; - The
cluster_name
attribute previously mandatory in thedbk_configure
rule (olddatabricks_configure
), has been moved to thedbk_libraries
rule; - Implementation improvements for capturing the cluster id from the cluster name.