mirror of https://github.com/databricks/cli.git
Merge b66dfa3fa2
into e81ec4ee23
This commit is contained in:
commit
fcd3d22bd5
|
@ -28,7 +28,7 @@ targets:
|
||||||
# We explicitly specify /Workspace/Users/[USERNAME] to make sure we only have a single copy.
|
# We explicitly specify /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_KEY: [USERNAME]
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
run_as:
|
||||||
user_name: [USERNAME]
|
$USER_NAME_KEY: [USERNAME]
|
||||||
|
|
|
@ -33,7 +33,7 @@ resources:
|
||||||
|
|
||||||
new_cluster:
|
new_cluster:
|
||||||
spark_version: 15.4.x-scala2.12
|
spark_version: 15.4.x-scala2.12
|
||||||
node_type_id: i3.xlarge
|
node_type_id: (redacted)
|
||||||
data_security_mode: SINGLE_USER
|
data_security_mode: SINGLE_USER
|
||||||
num_workers: 0
|
num_workers: 0
|
||||||
spark_conf:
|
spark_conf:
|
||||||
|
|
|
@ -25,7 +25,7 @@ targets:
|
||||||
# We explicitly specify /Workspace/Users/[USERNAME] to make sure we only have a single copy.
|
# We explicitly specify /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_KEY: [USERNAME]
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
run_as:
|
||||||
user_name: [USERNAME]
|
$USER_NAME_KEY: [USERNAME]
|
||||||
|
|
|
@ -43,7 +43,7 @@ resources:
|
||||||
- job_cluster_key: job_cluster
|
- job_cluster_key: job_cluster
|
||||||
new_cluster:
|
new_cluster:
|
||||||
spark_version: 15.4.x-scala2.12
|
spark_version: 15.4.x-scala2.12
|
||||||
node_type_id: i3.xlarge
|
node_type_id: (redacted)
|
||||||
autoscale:
|
autoscale:
|
||||||
min_workers: 1
|
min_workers: 1
|
||||||
max_workers: 4
|
max_workers: 4
|
||||||
|
|
|
@ -42,7 +42,7 @@ targets:
|
||||||
catalog: main
|
catalog: main
|
||||||
schema: default
|
schema: default
|
||||||
permissions:
|
permissions:
|
||||||
- user_name: [USERNAME]
|
- $USER_NAME_KEY: [USERNAME]
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
run_as:
|
||||||
user_name: [USERNAME]
|
$USER_NAME_KEY: [USERNAME]
|
||||||
|
|
|
@ -43,7 +43,7 @@ targets:
|
||||||
# We explicitly specify /Workspace/Users/[USERNAME] to make sure we only have a single copy.
|
# We explicitly specify /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_KEY: [USERNAME]
|
||||||
level: CAN_MANAGE
|
level: CAN_MANAGE
|
||||||
run_as:
|
run_as:
|
||||||
user_name: [USERNAME]
|
$USER_NAME_KEY: [USERNAME]
|
||||||
|
|
|
@ -1,2 +1,20 @@
|
||||||
# At the moment, there are many differences across different envs w.r.t to catalog use, node type and so on.
|
[[Repls]]
|
||||||
LocalOnly = true
|
Old = 'service_principal_name:'
|
||||||
|
New = '$$USER_NAME_KEY:'
|
||||||
|
|
||||||
|
[[Repls]]
|
||||||
|
Old = 'user_name:'
|
||||||
|
New = '$$USER_NAME_KEY:'
|
||||||
|
|
||||||
|
[[Repls]]
|
||||||
|
Old = '''
|
||||||
|
email_notifications:
|
||||||
|
on_failure:
|
||||||
|
- \$USERNAME
|
||||||
|
|
||||||
|
'''
|
||||||
|
New = ''
|
||||||
|
|
||||||
|
[[Repls]]
|
||||||
|
Old = '\bnode_type_id: [0-9a-zA-Z_.-]+\b'
|
||||||
|
New = 'node_type_id: (redacted)'
|
||||||
|
|
Loading…
Reference in New Issue