mirror of https://github.com/databricks/cli.git
Add a unique schema for recreate pipeline test (#2159)
## Changes Pipeline backend requires `target` to be always specified. In order to do this we will create an unique schema as part of `TestBundlePipelineRecreateWithoutAutoApprove` test which will be used in pipelines ## Tests ``` helpers_test.go:148: stderr: Destroy complete! --- PASS: TestBundlePipelineRecreateWithoutAutoApprove (415.39s) PASS coverage: [no statements] ok github.com/databricks/cli/integration/bundle 416.141s coverage: [no statements] ```
This commit is contained in:
parent
30dec59781
commit
a002a24e41
|
@ -9,7 +9,6 @@ variables:
|
||||||
description: The catalog the DLT pipeline should use.
|
description: The catalog the DLT pipeline should use.
|
||||||
default: main
|
default: main
|
||||||
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
pipelines:
|
pipelines:
|
||||||
foo:
|
foo:
|
||||||
|
@ -19,6 +18,13 @@ resources:
|
||||||
path: ./nb.sql
|
path: ./nb.sql
|
||||||
development: true
|
development: true
|
||||||
catalog: ${var.catalog}
|
catalog: ${var.catalog}
|
||||||
|
target: ${resources.schemas.bar.id}
|
||||||
|
|
||||||
|
schemas:
|
||||||
|
bar:
|
||||||
|
name: test-schema-{{.unique_id}}
|
||||||
|
catalog_name: ${var.catalog}
|
||||||
|
comment: This schema was created from DABs
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- "*.yml"
|
- "*.yml"
|
||||||
|
|
Loading…
Reference in New Issue