-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdatabricks.yml
More file actions
47 lines (40 loc) · 1.15 KB
/
databricks.yml
File metadata and controls
47 lines (40 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This is a Databricks asset bundle definition for default_python.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: default_python
databricks_cli_version: ">=0.286.0"
artifacts:
default:
type: whl
build: uv build --wheel
path: .
variables:
debug:
default: "--debug"
skip:
default: "--skip"
default_catalog:
default: dev
default_schema:
default: template
include:
- resources/workflow.yml
# For simplicity, we use a single workspace profile across all targets.
# Here is a good reference on how to structure your catalogs, workspaces, and groups:
# https://youtu.be/CLBq4fBE2Ro
targets:
dev:
mode: development
default: true
workspace:
profile: dev
staging:
workspace:
profile: dev
prod:
workspace:
profile: dev
# For production deployments, we only have a single copy, so we override the workspace.root_path default of
# /Users/${workspace.current_user.userName}/.bundle/${bundle.target}/${bundle.name}
# to a path that is not specific to the current user.
root_path: /Shared/.bundle/prod/${bundle.name}