Skip to content

Releases: acqio/rules_databricks

v0.7

17 Feb 17:05
Compare
Choose a tag to compare

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 the dbk_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 to dbk_;
  • The cluster_name attribute previously mandatory in the dbk_configure rule (old databricks_configure), has been moved to the dbk_libraries rule;
  • Implementation improvements for capturing the cluster id from the cluster name.

v0.6

04 Aug 15:59
fd9f8ce
Compare
Choose a tag to compare
  • Specifying version of Bazel
  • Adjustments in the construction of the Toolchain.
  • Removed check for downloaded pending issues to ensure they will always be downloaded.
  • Improved validation of profile existence in the Databricks configuration file
  • Exporting DATABRICKS_CONFIG_FILE variable
  • Adjusted field of providers ConfigureInfo and FsInfo
  • Changed the moment when Profile validation is performed in the Databricks configuration file.
http_archive(
    name = "rules_databricks",
    urls = [
        "https://github.com/acqio/rules_databricks/archive/v0.6.tar.gz"
    ],
    sha256 = "8b18edaf3b4182be9b241a968840670e5600f1c9cca69cb6230c9b199ecdab46",
    strip_prefix = "rules_databricks-0.6",
)

v0.5

15 Jul 23:12
Compare
Choose a tag to compare
  • Python3 support for cli databricks.
  • Removed the use of the Subpar project and rules_pip
  • Using the --build_python_zip flag
http_archive(
    name = "rules_databricks",
    urls = [
        "https://github.com/acqio/rules_databricks/archive/v0.5.tar.gz"
    ],
    sha256 = "b21301eb81b41162ae612ff708b8466ab94db55b111605a492708d03d74e532c",
    strip_prefix = "rules_databricks-0.5",
)

v.0.4

15 Jul 02:12
Compare
Choose a tag to compare

Python2 compatibility;
Using the rules: https://github.com/ali5h/rules_pip to install dependencies.
Improvements and adjustments.

To upgrade:

http_archive(
    name = "rules_databricks",
    sha256 = "2c7800a2f1ba4e8ad8b31f86f0dcc366f65011f09c963a5d68b8df4ab1c84bae",
    strip_prefix = "rules_databricks-0.4",
    urls = [
        "https://github.com/acqio/rules_databricks/archive/v0.4.tar.gz"
    ],
)

v0.3

29 Jun 21:34
Compare
Choose a tag to compare

Updated databricks cli to version 0.11;
Python3 compatibility;
Improvements and adjustments.

To upgrade:

http_archive(
    name = "rules_databricks",
    sha256 = "b8e691e7c2d03a47f4ad8f56df197aca40c2874054aeca0aede0ffe3a522817c",
    strip_prefix = "rules_databricks-0.3",
    urls = [
        "https://github.com/acqio/rules_databricks/archive/v0.3.tar.gz"
    ],
)

v0.2

19 May 13:35
09c5942
Compare
Choose a tag to compare
Merge pull request #2 from thiago-farias/fix-libraries-install-jar

Fix libraries install jar

v0.1

17 Mar 13:19
Compare
Choose a tag to compare

Initial version of the rules databricks for Bazel.