diff --git a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/out.json b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/out.json index b6b4c1f73f..0bcadc09bb 100644 --- a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/out.json +++ b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/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": [], "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" } } diff --git a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/script b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/script index f30782db60..3bf93ab51c 100644 --- a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/script +++ b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_schema/script @@ -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 diff --git a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/out.json b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/out.json index 3ad7ac41e4..6c03b39829 100644 --- a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/out.json +++ b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/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" } } diff --git a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/script b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/script index f30782db60..3bf93ab51c 100644 --- a/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/script +++ b/acceptance/bundle/unitycatalog/capture_schema_dependency/dlt_target/script @@ -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