Commit Graph

7 Commits

Author SHA1 Message Date
Miles Yucht 9b16e9bd45
Bump the Go SDK in the CLI ()
## Changes
Bump the Databricks Go SDK version from v0.23.0 to v0.24.0.

## Tests
<!-- How is this tested? -->
2023-10-26 11:41:28 +00:00
hectorcast-db 36f30c8b47
Update Go SDK to 0.23.0 and use custom marshaller ()
## Changes
Update Go SDK to 0.23.0 and use custom marshaller.
## Tests
* Run unit tests

* Run nightly

* Manual test:
```
./cli jobs create --json @myjob.json
```
with 
```
{
    "name": "my-job-marshal-test-go",
    "tasks": [{
        "task_key": "testgomarshaltask",
        "new_cluster": {
            "num_workers": 0,
            "spark_version": "10.4.x-scala2.12",
            "node_type_id": "Standard_DS3_v2"
        },
        "libraries": [
            {
                "jar": "dbfs:/max/jars/exampleJarTask.jar"
            }
        ],
        "spark_jar_task": {
            "main_class_name":  "com.databricks.quickstart.exampleTask"
        }
    }]
}
```
Main branch:
```
Error: Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size
```
This branch:
```
{
  "job_id":<jobid>
}
```

---------

Co-authored-by: Miles Yucht <miles@databricks.com>
2023-10-16 06:56:06 +00:00
Andrew Nester e1d1e95525
Updated Go SDK to 0.22.0 ()
## Changes
Updated Go SDK to 0.22.0
2023-10-03 11:46:16 +00:00
Pieter Noordhuis 1752e29885
Update Go SDK to v0.19.0 ()
## Changes

* Update Go SDK to v0.19.0
* Update commands per OpenAPI spec from Go SDK
* Incorporate `client.Do()` signature change to include a (nil) header
map
* Update `workspace.WorkspaceService` mock with permissions methods
* Skip `files` service in codegen; already implemented under the `fs`
command

## Tests

Unit and integration tests pass.
2023-09-05 09:43:57 +00:00
Miles Yucht bb415ce6bb
Bump OpenAPI specification & Go SDK Version ()
## Changes
Bump the OpenAPI specification and Go SDK version to the latest version.

## Tests
<!-- How is this tested? -->
2023-08-01 12:33:19 +00:00
Miles Yucht 3697dfcb51
Release v0.202.0 ()
Breaking Change:
* Require include glob patterns to be explicitly defined
([](https://github.com/databricks/cli/pull/602)).

Bundles:
* Add support for more SDK config options
([](https://github.com/databricks/cli/pull/587)).
* Add template renderer for Databricks templates
([](https://github.com/databricks/cli/pull/589)).
* Fix formatting in renderer.go
([](https://github.com/databricks/cli/pull/593)).
* Fixed python wheel test
([](https://github.com/databricks/cli/pull/608)).
* Auto detect Python wheel packages and infer build command
([](https://github.com/databricks/cli/pull/603)).
* Added support for artifacts building for bundles
([](https://github.com/databricks/cli/pull/583)).
* Add support for cloning repositories
([](https://github.com/databricks/cli/pull/544)).
* Add regexp compile helper function for templates
([](https://github.com/databricks/cli/pull/601)).
* Add unit test that raw strings are printed as is
([](https://github.com/databricks/cli/pull/599)).

Internal:
* Fix tests under ./cmd/configure if DATABRICKS_TOKEN is set
([](https://github.com/databricks/cli/pull/605)).
* Remove dependency on global state in generated commands
([](https://github.com/databricks/cli/pull/595)).
* Remove dependency on global state for the root command
([](https://github.com/databricks/cli/pull/606)).
* Add merge_group trigger for build
([](https://github.com/databricks/cli/pull/612)).
* Added support for build command chaining and error on missing wheel
([](https://github.com/databricks/cli/pull/607)).
* Add TestAcc prefix to filer test and fix any failing tests
([](https://github.com/databricks/cli/pull/611)).
* Add url parse helper function for templates
([](https://github.com/databricks/cli/pull/600)).
* Remove dependency on global state for remaining commands
([](https://github.com/databricks/cli/pull/613)).
* Update CHANGELOG template
([](https://github.com/databricks/cli/pull/588)).
2023-07-27 13:23:55 +00:00
Serge Smertin acf292da37
Release v0.201.0 ()
* Add development runs
([](https://github.com/databricks/cli/pull/522)).
* Support tab completion for profiles
([](https://github.com/databricks/cli/pull/572)).
* Correctly use --profile flag passed for all bundle commands
([](https://github.com/databricks/cli/pull/571)).
* Disallow notebooks in paths where files are expected
([](https://github.com/databricks/cli/pull/573)).
* Improve auth login experience
([](https://github.com/databricks/cli/pull/570)).
* Remove base path checks during sync
([](https://github.com/databricks/cli/pull/576)).
* First look for databricks.yml before falling back to bundle.yml
([](https://github.com/databricks/cli/pull/580)).
* Integrate with auto-release infra
([](https://github.com/databricks/cli/pull/581)).

API Changes:

 * Removed `databricks metastores maintenance` command.
 * Added `databricks metastores enable-optimization` command.
 * Added `databricks tables update` command.
* Changed `databricks account settings delete-personal-compute-setting`
command with new required argument order.
* Changed `databricks account settings read-personal-compute-setting`
command with new required argument order.
 * Added `databricks clean-rooms` command group.

OpenAPI SHA: 850a075ed9758d21a6bc4409506b48c8b9f93ab4, Date: 2023-07-18
Dependency updates:

* Bump golang.org/x/term from 0.9.0 to 0.10.0
([](https://github.com/databricks/cli/pull/567)).
* Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0
([](https://github.com/databricks/cli/pull/566)).
* Bump golang.org/x/mod from 0.11.0 to 0.12.0
([](https://github.com/databricks/cli/pull/568)).
* Bump github.com/databricks/databricks-sdk-go from 0.12.0 to 0.13.0
([](https://github.com/databricks/cli/pull/585)).
2023-07-18 17:13:48 +00:00