Databricks CLI
Go to file
shreyas-goenka 96efd0e2e4
Replace terraform dependency with go sdk (#19)
Issue: https://github.com/databricks/bricks/issues/17

`./bricks fs ls ...` command works
`./bricks launch ...` command works

Did not test other changes as the readme claims other commands don't
work anyways :) cc: @nfx

TODO left for this PR:
2. Replace terraform scim.Me once its there in go SDK
(https://github.com/databricks/databricks-sdk-go/issues/56)
2022-09-07 11:55:59 +02:00
.github Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
.vscode Add `bricks configure` command to bricks CLI (#18) 2022-09-05 20:25:54 +02:00
cmd Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
ext Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
folders Experimental sync command 2022-07-07 20:56:59 +02:00
git Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
project Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
python Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
retries Experimental sync command 2022-07-07 20:56:59 +02:00
sandbox updated dependencies 2022-05-14 19:56:09 +02:00
terraform Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
tests Add `bricks configure` command to bricks CLI (#18) 2022-09-05 20:25:54 +02:00
utilities Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
.gitignore Experimental sync command 2022-07-07 20:56:59 +02:00
.gitmodules Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
.goreleaser Added `launch` command and release pipeline 2022-05-13 17:43:54 +02:00
Makefile updated dependencies 2022-05-14 19:56:09 +02:00
README.md Update README.md 2022-05-16 13:31:47 +02:00
go.mod Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
go.sum Replace terraform dependency with go sdk (#19) 2022-09-07 11:55:59 +02:00
main.go Add `bricks configure` command to bricks CLI (#18) 2022-09-05 20:25:54 +02:00

README.md

Bricks CLI 🧱 build

Where's "data"? Secured by the unity catalog. Projects build lifecycle is secured by bricks 🧱

This is an early PoC at this stage. make build (or download the latest from releases page).

Reuses authentication from Databricks CLI. And terraform provider. See details here: https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs#environment-variables

Supports:

  • Databricks CLI
  • Databricks CLI Profiles
  • Azure CLI Auth
  • Azure MSI Auth
  • Azure SPN Auth
  • Google OIDC Auth
  • Direct DATABRICKS_HOST, DATABRICKS_TOKEN or DATABRICKS_USERNAME + DATABRICKS_PASSWORD variables.

What works:

  • ./bricks fs ls /
  • ./bricks test
  • ./bricks launch test.py

What doesn't work:

  • Everything else.

This project reuses some code from Databricks Terraform Provider