Regular Variables with Target Override - pathfinder-analytics-uk/dab_project GitHub Wiki
Project Code
databricks.yml
# This is a Databricks asset bundle definition for dab_project.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: dab_project
include:
- resources/*.yml
variables:
catalog:
default: "citibike_dev"
targets:
dev:
# The default target uses 'mode: development' to create a development copy.
# - Deployed resources get prefixed with '[dev my_user_name]'
# - Any job schedules and triggers are paused by default.
# See also https://docs.databricks.com/dev-tools/bundles/deployment-modes.html.
mode: development
default: true
workspace:
host: https://adb-3167041784358437.17.azuredatabricks.net
test:
mode: production
variables:
catalog:
default: "citibike_test"
presets:
name_prefix: '[testing] '
workspace:
host: https://adb-348512119942792.12.azuredatabricks.net/
# We explicitly specify /Workspace/Users/[email protected] to make sure we only have a single copy.
root_path: /Workspace/Shared/.bundle/${bundle.name}/${bundle.target}
permissions:
- user_name: [email protected]
level: CAN_MANAGE
run_as:
user_name: [email protected]
prod:
mode: production
variables:
catalog:
default: "citbike_prod"
workspace:
host: https://adb-3274436598051014.14.azuredatabricks.net/
# We explicitly specify /Workspace/Users/[email protected] to make sure we only have a single copy.
root_path: /Workspace/Shared/.bundle/${bundle.name}/${bundle.target}
permissions:
- user_name: [email protected]
level: CAN_MANAGE
run_as:
user_name: [email protected]