mirror of https://github.com/databricks/cli.git
45 lines
961 B
Plaintext
45 lines
961 B
Plaintext
|
|
>>> $CLI bundle validate -o json -t development
|
|
{
|
|
"foo": {
|
|
"clusters": [
|
|
{
|
|
"label": "default",
|
|
"node_type_id": "i3.xlarge",
|
|
"num_workers": 1,
|
|
"spark_conf": {
|
|
"foo": "bar"
|
|
}
|
|
}
|
|
],
|
|
"deployment": {
|
|
"kind": "BUNDLE",
|
|
"metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/override_pipeline_cluster/development/state/metadata.json"
|
|
},
|
|
"name": "job",
|
|
"permissions": []
|
|
}
|
|
}
|
|
|
|
>>> $CLI bundle validate -o json -t staging
|
|
{
|
|
"foo": {
|
|
"clusters": [
|
|
{
|
|
"label": "default",
|
|
"node_type_id": "i3.2xlarge",
|
|
"num_workers": 4,
|
|
"spark_conf": {
|
|
"foo": "bar"
|
|
}
|
|
}
|
|
],
|
|
"deployment": {
|
|
"kind": "BUNDLE",
|
|
"metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/override_pipeline_cluster/staging/state/metadata.json"
|
|
},
|
|
"name": "job",
|
|
"permissions": []
|
|
}
|
|
}
|