mirror of https://github.com/databricks/cli.git
56ed9bebf3
## 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 |
||
---|---|---|
.. | ||
debug | ||
deployment | ||
generate | ||
utils | ||
bundle.go | ||
debug.go | ||
deploy.go | ||
destroy.go | ||
generate.go | ||
init.go | ||
init_test.go | ||
launch.go | ||
run.go | ||
schema.go | ||
summary.go | ||
sync.go | ||
test.go | ||
validate.go | ||
variables.go |