databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Ignore CLI version check on development builds of the CLI #1714

Closed lennartkats-db closed 1 month ago

lennartkats-db commented 1 month ago

Changes

This changes makes sure we ignore CLI version check on development builds of the CLI.

Before:

$ cat databricks.yml | grep cli_version
  databricks_cli_version: ">= 0.223.1"
$ cli bundle deploy
Error: Databricks CLI version constraint not satisfied. Required: >= 0.223.1, current: 0.0.0-dev+06b169284737

after

...
$ cli bundle deploy
...
Warning: Ignoring Databricks CLI version constraint for development build. Required: >= 0.223.1, current: 0.0.0-dev+d52d6f08fcd5

Tests