databricks-cli/internal/bundle/bundles
Andrew Nester 56ed9bebf3
Added support for creating all-purpose clusters (#1698)
## 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
..
basic Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
clusters Added support for creating all-purpose clusters (#1698) 2024-09-23 10:42:34 +00:00
deploy_then_remove_resources Don't merge-in remote resources during depolyments (#1432) 2024-05-15 12:41:44 +00:00
empty_bundle Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
job_metadata Persist deployment metadata in WSFS (#845) 2023-10-27 12:55:43 +00:00
python_wheel_task Fix python wheel task integration tests (#1648) 2024-08-01 13:55:22 +00:00
python_wheel_task_with_environments Added support for job environments (#1379) 2024-04-22 11:44:34 +00:00
recreate_pipeline Add prompt when a pipeline recreation happens (#1672) 2024-09-04 11:11:47 +00:00
spark_jar_task Run Spark JAR task test on multiple DBR versions (#1665) 2024-08-09 15:13:31 +00:00
uc_schema Add resource for UC schemas to DABs (#1413) 2024-07-31 12:16:28 +00:00
with_includes Added `bundle deployment bind` and `unbind` command (#1131) 2024-02-14 18:04:45 +00:00