databricks / cli Goto Github PK
View Code? Open in Web Editor NEWDatabricks CLI
License: Other
Databricks CLI
License: Other
We removed GPG signing because hashicorp deprecated their GH action and it was already disabled in .goreleaser.yaml
.
removed from release.yaml
:
- name: Import GPG key
id: import_gpg
uses: crazy-max/[email protected]
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
removed from .goreleaser.yaml
:
signs:
- artifacts: checksum
args:
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
Lets start adding unit tests for the bricks cli commands. We can start with bricks fs ls ...
since that should be the easiest
and run unit tests on windows
Right now it's hardcoded in the vscode extension to only validate databricks.yml
and bundle.yml
files with the json schema
The SDK has mocking support and can be leveraged in bricks tests.
That's compatible with the equivalent databricks configure
command in the existing CLI
https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication
Please fix it :)
Remove CreateDbfsFile
and ReadDbfsFile
once equivalent helper functions are implemented in go SDK. Tracked in go SDK in issue: databricks/databricks-sdk-go#57
Currently when running ./bricks bundle validate
I am unable to determine the auth method decided by the bricks cli and the workspace url.
If validate is run i would like to debug environment targets (URL and auth mechanism) being selected in the logs incase there are any permission issues.
This will also require support for pagination on the bricks client side
This will allow us to avoid an unnecessary error: see: #48 (comment)
low priority as of 13 Sep 2022
Remote repo projects will slowly drift from local files because of two reasons:
This can pollute the remote repo
When this flag is provided, we do not persist the in-memory snapshot to local disk
Two fields in resources.Pipeline have the json tag id. We should also remove one of them
Running gotestsum
shows failures in multiple packages.
see: #48 (comment)
see dbx implementation for how to do it
Remove GetAllRepos
once equivalent helper function is implemented in go SDK
Tracked in go SDK repo in issue: databricks/databricks-sdk-go#58
Apparently, it exists
Syntax runs, validation errors, expectation fails etc
Replace use of panic(err)
with the RunE callback
#19 (comment) is one instance of such a use
Right now if you change the destination workspace, your terraforms state gets nuked. We should have a warning/error if a deploy would be destructive to remote state.
Does not apply when the state is remote. However we can potentially support a local only terraform state location handling
Then have the io.Reader and io.Writer inside the context? Can be called then like cmdio.Log, cmdio.Prompt...
Add the following arguments to bricks configure
to get better parity with the Databricks CLI.
-t, --token
--host TEXT Host to connect to.
--profile TEXT CLI connection profile to use. The default
profile is "DEFAULT".
Either by doing the first upload as a zip or by concurrent upload requests
Even though tests pass, the GitHub action fails
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.