Skip to content

Commit

Permalink
reduce test size
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Jan 16, 2025
1 parent ce4580e commit d12852c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"
}
}
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d12852c

Please sign in to comment.