Skip to content

Commit 18cab43

Browse files
authored
direct: Added support for clusters deployment (#3682)
## Changes Added support for cluster deployment for direct deployment As part of the implementation for direct, added the default values 60 for autotermination_minutes, the same value as in TF. ## Why Behaviour matches the one in Terraform ## Tests Enabled existing cluster acceptance tests for direct as well + added a new one which does da different type of updates <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
1 parent 877ff93 commit 18cab43

File tree

45 files changed

+1574
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1574
-30
lines changed

acceptance/bundle/integration_whl/interactive_cluster/out.test.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

acceptance/bundle/integration_whl/interactive_cluster/test.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/out.test.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/test.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
EnvMatrix.DATABRICKS_BUNDLE_ENGINE = ["terraform"] # clusters not implemented
2-
31
[EnvMatrix]
42
DATA_SECURITY_MODE = [
53
"USER_ISOLATION",

acceptance/bundle/integration_whl/interactive_single_user/out.test.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

acceptance/bundle/integration_whl/interactive_single_user/test.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

acceptance/bundle/override/clusters/output.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"max_workers": 7,
66
"min_workers": 2
77
},
8+
"autotermination_minutes": 60,
89
"cluster_name": "foo",
910
"node_type_id": "[NODE_TYPE_ID]",
1011
"num_workers": 2,
@@ -20,6 +21,7 @@
2021
"max_workers": 3,
2122
"min_workers": 1
2223
},
24+
"autotermination_minutes": 60,
2325
"cluster_name": "foo-override",
2426
"node_type_id": "m5.xlarge",
2527
"num_workers": 3,

acceptance/bundle/override/merge-string-map/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Warning: expected map, found string
77
{
88
"clusters": {
99
"my_cluster": {
10+
"autotermination_minutes": 60,
1011
"spark_version": "25"
1112
}
1213
}

acceptance/bundle/refschema/out.fields.txt

Lines changed: 256 additions & 0 deletions
Large diffs are not rendered by default.

acceptance/bundle/resources/clusters/deploy/simple/out.test.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)