Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acceptance/bundle/run_as/job_default/databricks.yml.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundle:
name: "run_as_job_default"
name: "run_as_job_default_$UNIQUE_NAME"

resources:
jobs:
Expand Down
2 changes: 1 addition & 1 deletion acceptance/bundle/run_as/job_default/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions acceptance/bundle/run_as/job_default/output.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

=== Deploy with run_as
>>> [CLI] bundle deploy
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/files...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/files...
Deploying resources...
Updating deployment state...
Deployment complete!
Expand All @@ -13,7 +13,7 @@ Deployment complete!
"body": {
"deployment": {
"kind": "BUNDLE",
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/state/metadata.json"
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/state/metadata.json"
},
"edit_mode": "UI_LOCKED",
"format": "MULTI_TASK",
Expand All @@ -33,7 +33,7 @@ Deployment complete!
"spark_version": "13.3.x-snapshot-scala2.12"
},
"notebook_task": {
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/files/test"
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/files/test"
},
"task_key": "task_one"
}
Expand All @@ -53,7 +53,7 @@ update jobs.job_with_run_as
Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged

>>> [CLI] bundle deploy
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/files...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/files...
Deploying resources...
Updating deployment state...
Deployment complete!
Expand All @@ -67,7 +67,7 @@ Deployment complete!
"new_settings": {
"deployment": {
"kind": "BUNDLE",
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/state/metadata.json"
"metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/state/metadata.json"
},
"edit_mode": "UI_LOCKED",
"format": "MULTI_TASK",
Expand All @@ -84,7 +84,7 @@ Deployment complete!
"spark_version": "13.3.x-snapshot-scala2.12"
},
"notebook_task": {
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default/files/test"
"notebook_path": "/Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default/files/test"
},
"task_key": "task_one"
}
Expand All @@ -102,7 +102,7 @@ Deployment complete!
The following resources will be deleted:
delete resources.jobs.job_with_run_as

All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/run_as_job_default/default
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/run_as_job_default_[UNIQUE_NAME]/default

Deleting files...
Destroy complete!
2 changes: 1 addition & 1 deletion acceptance/bundle/run_as/job_default/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Cloud = true
RecordRequests = true

[EnvMatrix]
DATABRICKS_BUNDLE_ENGINE = ["terraform", "direct"]
DATABRICKS_BUNDLE_ENGINE = ["direct"]
Loading