Update acceptance tests

This commit is contained in:
Lennart Kats 2025-01-27 10:49:23 +01:00
parent ee86ff1b41
commit d133ea8bdd
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
5 changed files with 25 additions and 13 deletions

View File

@ -1,2 +1,14 @@
# DABs
.databricks/
build/
dist/
__pycache__/
*.egg-info
.venv/
scratch/**
!scratch/README.md
.databricks # dbt
target/
dbt_packages/
logs/

View File

@ -12,12 +12,12 @@ include:
# The default schema, catalog, etc. for dbt are defined in dbt_profiles/profiles.yml # The default schema, catalog, etc. for dbt are defined in dbt_profiles/profiles.yml
targets: targets:
dev: dev:
default: true
# The default target uses 'mode: development' to create a development copy. # The default target uses 'mode: development' to create a development copy.
# - Deployed resources get prefixed with '[dev my_user_name]' # - Deployed resources get prefixed with '[dev my_user_name]'
# - Any job schedules and triggers are paused by default. # - Any job schedules and triggers are paused by default.
# See also https://docs.databricks.com/dev-tools/bundles/deployment-modes.html. # See also https://docs.databricks.com/dev-tools/bundles/deployment-modes.html.
mode: development mode: development
default: true
workspace: workspace:
host: $DATABRICKS_URL host: $DATABRICKS_URL
@ -25,10 +25,8 @@ targets:
mode: production mode: production
workspace: workspace:
host: $DATABRICKS_URL host: $DATABRICKS_URL
# We explicitly specify /Workspace/Users/$USERNAME to make sure we only have a single copy. # We explicitly deploy to /Workspace/Users/$USERNAME to make sure we only have a single copy.
root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target} root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target}
permissions: permissions:
- user_name: $USERNAME - user_name: $USERNAME
level: CAN_MANAGE level: CAN_MANAGE
run_as:
user_name: $USERNAME

View File

@ -22,10 +22,8 @@ targets:
mode: production mode: production
workspace: workspace:
host: $DATABRICKS_URL host: $DATABRICKS_URL
# We explicitly specify /Workspace/Users/$USERNAME to make sure we only have a single copy. # We explicitly deploy to /Workspace/Users/$USERNAME to make sure we only have a single copy.
root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target} root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target}
permissions: permissions:
- user_name: $USERNAME - user_name: $USERNAME
level: CAN_MANAGE level: CAN_MANAGE
run_as:
user_name: $USERNAME

View File

@ -1,2 +1,8 @@
.databricks/
.databricks build/
dist/
__pycache__/
*.egg-info
.venv/
scratch/**
!scratch/README.md

View File

@ -35,7 +35,7 @@ targets:
mode: production mode: production
workspace: workspace:
host: $DATABRICKS_URL host: $DATABRICKS_URL
# We explicitly specify /Workspace/Users/$USERNAME to make sure we only have a single copy. # We explicitly deploy to /Workspace/Users/$USERNAME to make sure we only have a single copy.
root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target} root_path: /Workspace/Users/$USERNAME/.bundle/${bundle.name}/${bundle.target}
variables: variables:
warehouse_id: f00dcafe warehouse_id: f00dcafe
@ -44,5 +44,3 @@ targets:
permissions: permissions:
- user_name: $USERNAME - user_name: $USERNAME
level: CAN_MANAGE level: CAN_MANAGE
run_as:
user_name: $USERNAME