mirror of https://github.com/databricks/cli.git
69 lines
1.2 KiB
YAML
69 lines
1.2 KiB
YAML
bundle:
|
|
name: "run_as"
|
|
|
|
run_as:
|
|
service_principal_name: "my_service_principal"
|
|
|
|
experimental:
|
|
use_legacy_run_as: true
|
|
|
|
resources:
|
|
jobs:
|
|
job_one:
|
|
name: Job One
|
|
|
|
tasks:
|
|
- task_key: "task_one"
|
|
notebook_task:
|
|
notebook_path: "./test.py"
|
|
|
|
job_two:
|
|
name: Job Two
|
|
|
|
tasks:
|
|
- task_key: "task_two"
|
|
notebook_task:
|
|
notebook_path: "./test.py"
|
|
|
|
job_three:
|
|
name: Job Three
|
|
|
|
run_as:
|
|
service_principal_name: "my_service_principal_for_job"
|
|
|
|
tasks:
|
|
- task_key: "task_three"
|
|
notebook_task:
|
|
notebook_path: "./test.py"
|
|
|
|
pipelines:
|
|
nyc_taxi_pipeline:
|
|
name: "nyc taxi loader"
|
|
|
|
permissions:
|
|
- level: CAN_VIEW
|
|
service_principal_name: my_service_principal
|
|
- level: CAN_VIEW
|
|
user_name: my_user_name
|
|
|
|
libraries:
|
|
- notebook:
|
|
path: ./dlt/nyc_taxi_loader
|
|
|
|
|
|
models:
|
|
model_one:
|
|
name: "skynet"
|
|
|
|
registered_models:
|
|
model_two:
|
|
name: "skynet (in UC)"
|
|
|
|
experiments:
|
|
experiment_one:
|
|
name: "experiment_one"
|
|
|
|
model_serving_endpoints:
|
|
model_serving_one:
|
|
name: "skynet"
|