-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabricks.yml
More file actions
47 lines (43 loc) · 1.5 KB
/
databricks.yml
File metadata and controls
47 lines (43 loc) · 1.5 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 cv_classification.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: cv_classification
uuid: b60c48f8-f401-4021-bc4d-454bda8fb088
include:
- resources/*.yml
- resources/*/*.yml
artifacts:
python_artifact:
type: whl
build: uv run pytest && uv build --wheel
# Variable declarations. These variables are assigned in the dev/prod targets below.
variables:
catalog:
description: The catalog to use
schema:
description: The schema to use
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-7405612721969748.8.azuredatabricks.net
variables:
catalog: cv_classification_catalog
schema: dev
prod:
mode: production
workspace:
host: https://adb-7405612721969748.8.azuredatabricks.net
# We explicitly deploy to /Workspace/Users/jonnosgone@gmail.com to make sure we only have a single copy.
root_path: /Workspace/Users/jonnosgone@gmail.com/.bundle/${bundle.name}/${bundle.target}
variables:
catalog: cv_classification_catalog
schema: prod
permissions:
- user_name: jonnosgone@gmail.com
level: CAN_MANAGE