mirror of https://github.com/databricks/cli.git
5166055efb
Tested manually Before: ``` shreyas.goenka@THW32HFW6T test-dbx % bricks sync --full . /Repos/shreyas.goenka@databricks.com/test-dbx 2023/02/27 19:51:17 [INFO] Remote file sync location: /Repos/shreyas.goenka@databricks.com/test-dbx 2023/02/27 19:51:17 [INFO] Action: PUT: #foo.py, .gitignore 2023/02/27 19:51:19 [INFO] Uploaded .gitignore Error: Creating file failed. An item with path /Repos/shreyas.goenka@databricks.com/test-dbx already exists ``` After: ``` shreyas.goenka@THW32HFW6T test-dbx % bricks sync --full . /Repos/shreyas.goenka@databricks.com/test-dbx 2023/02/27 19:51:46 [INFO] Remote file sync location: /Repos/shreyas.goenka@databricks.com/test-dbx 2023/02/27 19:51:46 [INFO] Action: PUT: #foo.py, .gitignore 2023/02/27 19:51:47 [INFO] Uploaded .gitignore 2023/02/27 19:51:47 [INFO] Uploaded #foo.py ``` |
||
---|---|---|
.github | ||
.vscode | ||
bundle | ||
cmd | ||
experimental/github | ||
folders | ||
internal | ||
libs | ||
project | ||
python | ||
retries | ||
sandbox | ||
terraform | ||
.gitignore | ||
.goreleaser.yaml | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
main_test.go |
README.md
Bricks CLI 🧱
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
orDATABRICKS_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