databricks-cli/internal
Andrew Nester 56ed9bebf3
Added support for creating all-purpose clusters ()
## Changes
Added support for creating all-purpose clusters

Example of configuration

```
bundle:
  name: clusters

resources:
  clusters:
    test_cluster:
      cluster_name: "Test Cluster"
      num_workers: 2
      node_type_id: "i3.xlarge"
      autoscale:
        min_workers: 2
        max_workers: 7
      spark_version: "13.3.x-scala2.12"
      spark_conf:
        "spark.executor.memory": "2g"

  jobs:
    test_job:
      name: "Test Job"
      tasks:
        - task_key: test_task
          existing_cluster_id: ${resources.clusters.test_cluster.id}
          notebook_task:
            notebook_path: "./src/test.py"

targets:
    development:
      mode: development
      compute_id: ${resources.clusters.test_cluster.id}

```

## Tests
Added unit, config and E2E tests
2024-09-23 10:42:34 +00:00
..
acc Add resource for UC schemas to DABs () 2024-07-31 12:16:28 +00:00
build Allow specifying CLI version constraints required to run the bundle () 2024-04-02 12:55:21 +00:00
bundle Added support for creating all-purpose clusters () 2024-09-23 10:42:34 +00:00
mocks Use mockery to generate mocks compatible with testify/mock () 2024-02-08 15:18:53 +00:00
python Added test to submit and run various Python tasks on multiple DBR versions () 2023-10-03 11:18:55 +00:00
testdata Fix integration test asserting errors on unknown template parameters () 2023-11-10 11:05:32 +00:00
testjsons Update Go SDK to 0.23.0 and use custom marshaller () 2023-10-16 06:56:06 +00:00
testutil Added support for creating all-purpose clusters () 2024-09-23 10:42:34 +00:00
alerts_test.go Fix integration tests after Go SDK bump () 2024-08-16 08:32:38 +00:00
api_test.go Rename bricks -> databricks () 2023-05-16 18:35:39 +02:00
auth_describe_test.go Fixed typo in error template for auth describe () 2024-04-08 11:19:13 +00:00
clusters_test.go Add usage string when command fails with incorrect arguments () 2024-03-12 14:12:34 +00:00
completer_test.go Add trailing slash to directory to produce completions for () 2024-08-12 07:07:50 +00:00
filer_test.go Use API mocks for duplicate path errors in workspace files extensions client () 2024-08-21 07:45:25 +00:00
fs_cat_test.go Add support for UC Volumes to the `databricks fs` commands () 2024-02-20 16:14:37 +00:00
fs_cp_test.go Add support for UC Volumes to the `databricks fs` commands () 2024-02-20 16:14:37 +00:00
fs_ls_test.go Add support for UC Volumes to the `databricks fs` commands () 2024-02-20 16:14:37 +00:00
fs_mkdir_test.go Add support for UC Volumes to the `databricks fs` commands () 2024-02-20 16:14:37 +00:00
fs_rm_test.go Add support for UC Volumes to the `databricks fs` commands () 2024-02-20 16:14:37 +00:00
git_clone_test.go Remove resolution of repo names against the Databricks Github account () 2023-11-01 13:02:06 +00:00
helpers.go Increased chan size for clusters test to pass () 2024-08-19 10:00:21 +00:00
init_test.go Use the friendly name of service principals when shortening their name () 2024-09-16 18:35:07 +00:00
jobs_test.go Update Go SDK to 0.23.0 and use custom marshaller () 2023-10-16 06:56:06 +00:00
locker_test.go Added test to submit and run various Python tasks on multiple DBR versions () 2023-10-03 11:18:55 +00:00
repos_test.go Enabled incorrectly skipped tests () 2024-03-14 12:56:21 +00:00
secrets_test.go Enabled incorrectly skipped tests () 2024-03-14 12:56:21 +00:00
storage_credentials_test.go Enabled incorrectly skipped tests () 2024-03-14 12:56:21 +00:00
sync_test.go Abstract over filesystem interaction with libs/vfs () 2024-05-30 07:41:50 +00:00
tags_test.go Run tests to verify backend tag validation behavior () 2023-09-29 08:38:06 +00:00
unknown_command_test.go Add regression tests for CLI error output () 2024-07-10 06:38:06 +00:00
version_test.go Use cmdio in version command for `--output` flag () 2023-06-01 12:03:22 +02:00
workspace_test.go Print text logs in `import-dir` and `export-dir` commands () 2024-08-15 12:53:02 +00:00