mirror of https://github.com/databricks/cli.git
reduce test size
This commit is contained in:
parent
ce4580ef53
commit
d12852c086
|
@ -1,63 +1,28 @@
|
|||
{
|
||||
"pipeline1": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "${resources.schemas.schema1.name}"
|
||||
},
|
||||
"pipeline2": {
|
||||
"catalog": "catalog2",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "${resources.schemas.schema2.name}"
|
||||
},
|
||||
"pipeline3": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "${resources.schemas.schema3.name}"
|
||||
},
|
||||
"pipeline4": {
|
||||
"catalog": "catalogX",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "foobar"
|
||||
},
|
||||
"pipeline5": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "schemaX"
|
||||
},
|
||||
"pipeline6": {
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"schema": "foobar"
|
||||
},
|
||||
"pipeline7": {
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"name": "whatever",
|
||||
"permissions": []
|
||||
"name": "whatever"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
$CLI bundle validate -o json | jq .resources.pipelines > out.json
|
||||
$CLI bundle validate -o json | jq .resources.pipelines | jq 'map_values(del(.deployment, .permissions))' > out.json
|
||||
|
|
|
@ -1,63 +1,28 @@
|
|||
{
|
||||
"pipeline1": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "${resources.schemas.schema1.name}"
|
||||
},
|
||||
"pipeline2": {
|
||||
"catalog": "catalog2",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "${resources.schemas.schema2.name}"
|
||||
},
|
||||
"pipeline3": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "${resources.schemas.schema3.name}"
|
||||
},
|
||||
"pipeline4": {
|
||||
"catalog": "catalogX",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "foobar"
|
||||
},
|
||||
"pipeline5": {
|
||||
"catalog": "catalog1",
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "schemaX"
|
||||
},
|
||||
"pipeline6": {
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"permissions": [],
|
||||
"target": "foobar"
|
||||
},
|
||||
"pipeline7": {
|
||||
"deployment": {
|
||||
"kind": "BUNDLE",
|
||||
"metadata_file_path": "/Workspace/Users/$USERNAME/.bundle/dlt-schema-field-dep-on-uc-schema/default/state/metadata.json"
|
||||
},
|
||||
"name": "whatever",
|
||||
"permissions": []
|
||||
"name": "whatever"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
$CLI bundle validate -o json | jq .resources.pipelines > out.json
|
||||
$CLI bundle validate -o json | jq .resources.pipelines | jq 'map_values(del(.deployment, .permissions))' > out.json
|
||||
|
|
Loading…
Reference in New Issue