Shreyas Goenka
c979694224
WIP syncinclude
2022-09-23 12:10:46 +02:00
shreyas-goenka
731679cb4b
Add `persist-snapshot` to bricks sync ( #66 )
...
Tested manually
We are adding this flag because the default bricks sync is not robust
against changing the profile and other project config changes. This will
be used in the initial version of the vscode extention
2022-09-19 16:47:55 +02:00
Pieter Noordhuis
7cad8bda81
Respect project root in sync command ( #63 )
2022-09-16 15:18:46 +02:00
Pieter Noordhuis
a7701cc8f3
Store project object in context.Context instead of global ( #61 )
...
* Load project root from `BRICKS_ROOT` environment variable
* Rename project.Project -> project.Config
* Rename project.inner -> project.project
* Upgrade cobra to 1.5.0 for cmd.SetContext
2022-09-16 11:06:58 +02:00
shreyas-goenka
f9b66b3536
Make `bricks sync` feature work ( #48 )
...
Tested manually and partially by unit tests
2022-09-14 17:50:29 +02:00
shreyas-goenka
21bc774491
Replace scim Me terraform call with go sdk ( #46 )
...
This PR:
1. Replaces scim.Me call to use the go SDK instead of the terraform
client
2. Removes terraform client from bricks project
Tested manually that the scim.Me call works now and returns the correct
user
go build works
2022-09-08 15:50:00 +02:00
shreyas-goenka
96efd0e2e4
Replace terraform dependency with go sdk ( #19 )
...
Issue: https://github.com/databricks/bricks/issues/17
`./bricks fs ls ...` command works
`./bricks launch ...` command works
Did not test other changes as the readme claims other commands don't
work anyways :) cc: @nfx
TODO left for this PR:
2. Replace terraform scim.Me once its there in go SDK
(https://github.com/databricks/databricks-sdk-go/issues/56 )
2022-09-07 11:55:59 +02:00
Serge Smertin
32ae59c1bc
Experimental sync command
2022-07-07 20:56:59 +02:00