This commit is contained in:
Denis Bilenko 2025-02-11 01:55:16 -08:00 committed by GitHub
commit e866216697
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 30 additions and 12 deletions

View File

@ -28,7 +28,7 @@ targets:
# 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}
permissions:
- user_name: [USERNAME]
- $USER_NAME_KEY: [USERNAME]
level: CAN_MANAGE
run_as:
user_name: [USERNAME]
$USER_NAME_KEY: [USERNAME]

View File

@ -33,7 +33,7 @@ resources:
new_cluster:
spark_version: 15.4.x-scala2.12
node_type_id: i3.xlarge
node_type_id: (redacted)
data_security_mode: SINGLE_USER
num_workers: 0
spark_conf:

View File

@ -25,7 +25,7 @@ targets:
# 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}
permissions:
- user_name: [USERNAME]
- $USER_NAME_KEY: [USERNAME]
level: CAN_MANAGE
run_as:
user_name: [USERNAME]
$USER_NAME_KEY: [USERNAME]

View File

@ -43,7 +43,7 @@ resources:
- job_cluster_key: job_cluster
new_cluster:
spark_version: 15.4.x-scala2.12
node_type_id: i3.xlarge
node_type_id: (redacted)
autoscale:
min_workers: 1
max_workers: 4

View File

@ -42,7 +42,7 @@ targets:
catalog: main
schema: default
permissions:
- user_name: [USERNAME]
- $USER_NAME_KEY: [USERNAME]
level: CAN_MANAGE
run_as:
user_name: [USERNAME]
$USER_NAME_KEY: [USERNAME]

View File

@ -43,7 +43,7 @@ targets:
# 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}
permissions:
- user_name: [USERNAME]
- $USER_NAME_KEY: [USERNAME]
level: CAN_MANAGE
run_as:
user_name: [USERNAME]
$USER_NAME_KEY: [USERNAME]

View File

@ -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.
LocalOnly = true
[[Repls]]
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)'