mirror of https://github.com/databricks/cli.git
refactor: rename BUNDLE_UUID to BUNDLE_NAME_SUFFIX to avoid confusition with bundle.uuid field in databricks.yml
This commit is contained in:
parent
0f16296168
commit
797bfd4dea
|
@ -1,5 +1,5 @@
|
||||||
bundle:
|
bundle:
|
||||||
name: bind-schema-test-$BUNDLE_UUID
|
name: bind-schema-test-$BUNDLE_NAME_SUFFIX
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
title "Bind schema test: "
|
title "Bind schema test: "
|
||||||
|
|
||||||
title "Substitute variables in the template: "
|
title "Substitute variables in the template: "
|
||||||
export BUNDLE_UUID=$(uuid)
|
export BUNDLE_NAME_SUFFIX=$(uuid)
|
||||||
export SCHEMA_NAME="test-schema-$(uuid)"
|
export SCHEMA_NAME="test-schema-$(uuid)"
|
||||||
envsubst < databricks.yml > out.yml && mv out.yml databricks.yml
|
envsubst < databricks.yml > out.yml && mv out.yml databricks.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue