mirror of https://github.com/databricks/cli.git
85 lines
1.8 KiB
Plaintext
85 lines
1.8 KiB
Plaintext
|
|
||
|
>>> $CLI bundle validate -o json -t development
|
||
|
{
|
||
|
"foo": {
|
||
|
"deployment": {
|
||
|
"kind": "BUNDLE",
|
||
|
"metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/override_job_cluster/development/state/metadata.json"
|
||
|
},
|
||
|
"edit_mode": "UI_LOCKED",
|
||
|
"format": "MULTI_TASK",
|
||
|
"job_clusters": [
|
||
|
{
|
||
|
"job_cluster_key": "key",
|
||
|
"new_cluster": {
|
||
|
"spark_version": "13.3.x-scala2.12"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"job_cluster_key": "key",
|
||
|
"new_cluster": {
|
||
|
"node_type_id": "i3.xlarge",
|
||
|
"num_workers": 1
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"name": "job",
|
||
|
"permissions": [],
|
||
|
"queue": {
|
||
|
"enabled": true
|
||
|
},
|
||
|
"tags": {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
>>> $CLI bundle validate -t development
|
||
|
Name: override_job_cluster
|
||
|
Target: development
|
||
|
Workspace:
|
||
|
User: tester@databricks.com
|
||
|
Path: /Workspace/Users/tester@databricks.com/.bundle/override_job_cluster/development
|
||
|
|
||
|
Validation OK!
|
||
|
|
||
|
>>> $CLI bundle validate -o json -t staging
|
||
|
{
|
||
|
"foo": {
|
||
|
"deployment": {
|
||
|
"kind": "BUNDLE",
|
||
|
"metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/override_job_cluster/staging/state/metadata.json"
|
||
|
},
|
||
|
"edit_mode": "UI_LOCKED",
|
||
|
"format": "MULTI_TASK",
|
||
|
"job_clusters": [
|
||
|
{
|
||
|
"job_cluster_key": "key",
|
||
|
"new_cluster": {
|
||
|
"spark_version": "13.3.x-scala2.12"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"job_cluster_key": "key",
|
||
|
"new_cluster": {
|
||
|
"node_type_id": "i3.2xlarge",
|
||
|
"num_workers": 4
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"name": "job",
|
||
|
"permissions": [],
|
||
|
"queue": {
|
||
|
"enabled": true
|
||
|
},
|
||
|
"tags": {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
>>> $CLI bundle validate -t staging
|
||
|
Name: override_job_cluster
|
||
|
Target: staging
|
||
|
Workspace:
|
||
|
User: tester@databricks.com
|
||
|
Path: /Workspace/Users/tester@databricks.com/.bundle/override_job_cluster/staging
|
||
|
|
||
|
Validation OK!
|