mirror of https://github.com/databricks/cli.git
df0293510e
## Changes 1. Events are now printed in chronological order 2. Simplify events rendering by removing update/flow name. This makes it more consistent with the web UI too 3. Switch to server side filtering on update_id ## Tests Manually Happy run: ``` shreyas.goenka@THW32HFW6T pipeline-progress % bricks bundle run foo 2023-04-12T20:00:22.879Z update_progress INFO "Update e1becc is INITIALIZING." 2023-04-12T20:00:22.906Z update_progress INFO "Update e1becc is SETTING_UP_TABLES." 2023-04-12T20:00:24.496Z update_progress INFO "Update e1becc is RUNNING." 2023-04-12T20:00:24.497Z flow_progress INFO "Flow 'sales_orders_raw' is QUEUED." 2023-04-12T20:00:24.586Z flow_progress INFO "Flow 'sales_orders_raw' is STARTING." 2023-04-12T20:00:24.748Z flow_progress INFO "Flow 'sales_orders_raw' is RUNNING." 2023-04-12T20:00:26.672Z flow_progress INFO "Flow 'sales_orders_raw' has COMPLETED." 2023-04-12T20:00:27.753Z update_progress INFO "Update e1becc is COMPLETED." ``` Sad run: ``` shreyas.goenka@THW32HFW6T pipeline-progress % bricks bundle run foo 2023-04-12T20:02:07.764Z update_progress INFO "Update 04b80e is INITIALIZING." 2023-04-12T20:02:07.870Z update_progress ERROR "Update 04b80e is FAILED." Error: update failed ``` |
||
---|---|---|
.github | ||
.vscode | ||
bundle | ||
cmd | ||
docs | ||
folders | ||
internal | ||
libs | ||
python | ||
sandbox | ||
.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