Skip to content

Commit d1c34da

Browse files
authored
[direct] Implement bundle summary/run/open and resource deletion (#3162)
## Changes - Fix resource deletion in direct backend: resource removed from the config are now deleted. - Implement bundle summary/run/open in direct backend. ## Depends on - #3134 - #3161 ## Tests Enabled a bunch of tests & added more precise comments on remaining disabled.
1 parent f35e409 commit d1c34da

File tree

30 files changed

+166
-119
lines changed

30 files changed

+166
-119
lines changed

acceptance/bundle/deploy/jobs/check-metadata/test.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Local = false
22
Cloud = true
33

4-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # require "bundle summary"
5-
64
Ignore = [
75
"databricks.yml",
86
"a/b/resources.yml",

acceptance/bundle/deploy/jobs/double-underscore-keys/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Local = true
22
Cloud = true
33

4-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # needs investigation Error: deploying jobs.foo: Method=Jobs.Create *retries.Err *apierr.APIError StatusCode=400 ErrorCode="INVALID_PARAMETER_VALUE" Message="Missing required field: settings.tasks.task_key."
4+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # (only on Cloud/direct) Error: deploying jobs.foo: Method=Jobs.Create *retries.Err *apierr.APIError StatusCode=400 ErrorCode="INVALID_PARAMETER_VALUE" Message="Missing required field: settings.tasks.task_key."
55

66
Ignore = [
77
"databricks.yml",

acceptance/bundle/deploy/mlops-stacks/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Local=false
33

44
Badness = "the newly initialized bundle from the 'mlops-stacks' template contains two validation warnings in the configuration"
55

6-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # requires "bundle summary"
6+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # uses 'experiments' resource
77

88
Ignore = [
99
"config.json"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Local = true
22
Cloud = true
33

4-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # requires "bundle summary"
5-
64
Ignore = [
75
"databricks.yml"
86
]

acceptance/bundle/deploy/pipeline/recreate/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Local = true
22
Cloud = true
33
RequiresUnityCatalog = true
44

5-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"]
5+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # pipeline recreation and ${resources}
66

77
Ignore = [
88
"databricks.yml"

acceptance/bundle/deploy/schema/auto-approve/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Local = true
22
Cloud = true
33
RequiresUnityCatalog = true
44

5-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # requires "bundle summary"
5+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # requires "${resources}"
66

77
Ignore = [
88
"databricks.yml",

acceptance/bundle/deploy/secret-scope/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Cloud = true
22
Local = true
33

4-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"]
4+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # secret scopes not implemented
55

66
Ignore = [
77
"databricks.yml",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Cloud = true
22

3-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # summary,bind,unbind not implemented
3+
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # bind,unbind not implemented

acceptance/bundle/integration_whl/interactive_cluster_dynamic_version/test.toml

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

acceptance/bundle/integration_whl/test.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Local = false
22
CloudSlow = true
33

4-
EnvMatrix.DATABRICKS_CLI_DEPLOYMENT = ["terraform"] # requires "bundle run"; some tests require "clusters"
5-
64
Ignore = [
75
".databricks",
86
".venv",

0 commit comments

Comments
 (0)