Databricks CLI
Go to file
Pieter Noordhuis b88b35a510
Move mutator interface to top level bundle package (#105)
While working on artifact upload and workspace interrogation I realized
this mutator interface needs to:
1. Operate at the whole bundle level so it can apply to both
configuration and internal state
2. Include a `context.Context` parameter for a) long running operations
and b) progress reporting

Previous interface:
```
Apply(*config.Root) ([]Mutator, error)
```

New interface:
```
Apply(context.Context, *Bundle) ([]Mutator, error)
```
2022-11-28 10:59:43 +01:00
.github fix release (#45) 2022-09-08 15:12:26 +02:00
.vscode Scope snippets to Go (#51) 2022-09-13 17:58:59 +02:00
bundle Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
cmd Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
experimental/github Make tests pass (#40) 2022-09-07 20:08:42 +02:00
ext Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
folders Don't depend on working directory in folders.FindDirWithLeaf (#54) 2022-09-14 15:08:55 +02:00
git Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
internal Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
project Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01:00
python Store project object in context.Context instead of global (#61) 2022-09-16 11:06:58 +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 Ensure Go code is formatted (#37) 2022-09-07 15:15:23 +02:00
utilities Update databricks-sdk-go to latest (#102) 2022-11-24 21:41:57 +01: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.yaml Build 32 bit Windows (#47) 2022-09-09 10:31:41 +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 Skeleton for configuration loading and mutation (#92) 2022-11-18 10:57:31 +01:00
go.sum Skeleton for configuration loading and mutation (#92) 2022-11-18 10:57:31 +01:00
main.go Function to return workspace client on bundle.Bundle (#100) 2022-11-23 15:20:03 +01: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