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 |
||
---|---|---|
.. | ||
bundles | ||
artifacts_test.go | ||
basic_test.go | ||
bind_resource_test.go | ||
clusters_test.go | ||
deploy_test.go | ||
deploy_then_remove_resources_test.go | ||
deployment_state_test.go | ||
destroy_test.go | ||
empty_bundle_test.go | ||
environments_test.go | ||
generate_job_test.go | ||
generate_pipeline_test.go | ||
helpers.go | ||
job_metadata_test.go | ||
local_state_staleness_test.go | ||
python_wheel_test.go | ||
spark_jar_test.go | ||
validate_test.go |