mirror of https://github.com/databricks/cli.git
ed56fc01cb
Contains changes to make this integration test work on our GitHub actions testing env 1. use go run main.go to run bricks sync to run the latest bricks from master 2. Log the output from the bricks sync process to allow for debugging 3. removed databricks.yml and instead rely on BRICKS_ROOT and other env vars for auth and bricks sync 4. Added --persist-snapshot set to false to test full sync (same as is used in the vscode extension <img width="898" alt="Screenshot 2022-09-27 at 4 26 18 PM" src="https://user-images.githubusercontent.com/88374338/192553769-7af08ca0-b73a-4cf6-a214-8c58edc4c3e5.png"> The additional logs in the picture above are from a wip PR in deco cli that I made some changes to in order to make deco cli work with bricks : https://github.com/databricks/eng-dev-ecosystem/pull/97 |
||
---|---|---|
.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 🧱
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