reduce test size

This commit is contained in:
Shreyas Goenka 2025-01-16 17:30:00 +01:00
parent ce4580ef53
commit d12852c086
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
4 changed files with 4 additions and 74 deletions

View File

@ -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"
}
}

View File

@ -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

View File

@ -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"
}
}

View File

@ -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