cli
cli copied to clipboard
[WIP] Add experimental support for unified hosts
Changes
- Add a new
experimental_is_unified_hostflag to auth commands and persist it in profiles - Prompt for optional Workspace ID when logging in to a unified host.
Depends on https://github.com/databricks/databricks-sdk-go/pull/1307 and won't build without those SDK changes being released first
Why
Unified hosts support both workspace and accounts APIs. Support for this required making some changes to the Go SDK, which the cli relies on.
Tests
Not tested yet
| Env | πβRECOVERED | πβSKIP | β βpass | πβskip | |
|---|---|---|---|---|---|
| πβ | aws linux | 1 | 1 | 326 | 591 |
| πβ | aws windows | 1 | 1 | 327 | 590 |
| πβ | aws-ucws linux | 1 | 1 | 449 | 486 |
| πβ | aws-ucws windows | 1 | 1 | 450 | 485 |
| πβ | azure linux | 1 | 1 | 326 | 590 |
| πβ | azure windows | 1 | 1 | 327 | 589 |
| πβ | azure-ucws linux | 1 | 1 | 445 | 485 |
| πβ | azure-ucws windows | 1 | 1 | 446 | 484 |
| πβ | gcp linux | 1 | 1 | 325 | 592 |
| πβ | gcp windows | 1 | 1 | 326 | 591 |
| Test Name | aws linux | aws windows | aws-ucws linux | aws-ucws windows | azure linux | azure windows | azure-ucws linux | azure-ucws windows | gcp linux | gcp windows |
|---|---|---|---|---|---|---|---|---|---|---|
| TestAccept | πβR | πβR | πβR | πβR | πβR | πβR | πβR | πβR | πβR | πβR |
| TestAccept/bundle/run/app-with-job | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS |