mirror of https://github.com/databricks/cli.git
This PR does multiple things, which are: 1. Creates .databricks dir according to outcomes concluded in "bricks configuration principles" 2. Puts the sync snapshots into a file whose names is tagged with md5(concat(host, remote-path)) 3. Saves both host and username in the bricks snapshot for debuggability Tested manually: https://user-images.githubusercontent.com/88374338/195672267-9dd90230-570f-49b7-847f-05a5a6fd8986.mov |
||
---|---|---|
.github | ||
.vscode | ||
cmd | ||
experimental/github | ||
ext | ||
folders | ||
git | ||
internal | ||
project | ||
python | ||
retries | ||
sandbox | ||
terraform | ||
utilities | ||
.gitignore | ||
.gitmodules | ||
.goreleaser.yaml | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Bricks CLI 🧱 ![build](https://github.com/databricks/bricks/workflows/build/badge.svg?branch=main)
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