-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabricks.yml
48 lines (43 loc) · 1.73 KB
/
databricks.yml
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
48
# This is a Databricks asset bundle definition for marcin_project.
# See https://docs.databricks.com/dev-tools/bundles/index.html for documentation.
bundle:
name: marcin_project
artifacts:
default:
type: whl
build: poetry build
path: .
include:
- resources/*.yml
targets:
# The 'dev' target, for development purposes. This target is the default.
dev:
# We use 'mode: development' to indicate this is a personal development copy:
# - Deployed resources get prefixed with '[dev my_user_name]'
# - Any job schedules and triggers are paused by default
# - The 'development' mode is used for Delta Live Tables pipelines
mode: development
default: true
workspace:
host: https://e2-demo-west.cloud.databricks.com/
qa:
# We use 'mode: development' to indicate this is a personal development copy:
# - Deployed resources get prefixed with '[dev my_user_name]'
# - Any job schedules and triggers are paused by default
# - The 'development' mode is used for Delta Live Tables pipelines
mode: development
workspace:
host: https://e2-demo-west.cloud.databricks.com/
# The 'prod' target, used for production deployment.
prod:
# We use 'mode: production' to indicate this is a production deployment.
# Doing so enables strict verification of the settings below.
mode: production
workspace:
host: https://e2-demo-west.cloud.databricks.com/
# We only have a single deployment copy for production, so we use a shared path.
root_path: /Shared/.bundle/prod/${bundle.name}
# default user to use for all jobs in this environment
run_as:
user_name: [email protected]
#service_principal_name: "69511ed2-zb27-444c-9863-4bc8ff497637"