Skip to content
Merged
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: 0 additions & 2 deletions acceptance/bundle/generate/pipeline_and_deploy/databricks.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bundle:
name: pipeline_and_deploy-$UNIQUE_NAME
4 changes: 2 additions & 2 deletions acceptance/bundle/generate/pipeline_and_deploy/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Pipeline configuration successfully saved to resources/out.pipeline.yml
=== Verify generated yaml has expected fields
=== Deploy the generated bundle
>>> [CLI] bundle deploy
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline_and_deploy/default/files...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline_and_deploy-[UNIQUE_NAME]/default/files...
Deploying resources...
Deployment complete!

=== Destroy the deployed bundle
>>> [CLI] bundle destroy --auto-approve
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/pipeline_and_deploy/default
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/pipeline_and_deploy-[UNIQUE_NAME]/default

Deleting files...
Destroy complete!
Expand Down
2 changes: 2 additions & 0 deletions acceptance/bundle/generate/pipeline_and_deploy/script
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
envsubst < databricks.yml.tmpl > databricks.yml

title "Upload files to workspace"
trace $CLI workspace import "/Workspace/Users/${CURRENT_USER_NAME}/notebook.py" --file notebook.py --format AUTO --overwrite
trace $CLI workspace import "/Workspace/Users/${CURRENT_USER_NAME}/test.py" --file test.py --format AUTO --overwrite
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bundle:
name: python_job_and_deploy-$UNIQUE_NAME
4 changes: 2 additions & 2 deletions acceptance/bundle/generate/python_job_and_deploy/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Job configuration successfully saved to resources/out.job.yml
=== Verify generated yaml has expected fields
=== Deploy the generated bundle
>>> [CLI] bundle deploy
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/python_job_and_deploy/default/files...
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/python_job_and_deploy-[UNIQUE_NAME]/default/files...
Deploying resources...
Deployment complete!

=== Destroy the deployed bundle
>>> [CLI] bundle destroy --auto-approve
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/python_job_and_deploy/default
All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/python_job_and_deploy-[UNIQUE_NAME]/default

Deleting files...
Destroy complete!
Expand Down
2 changes: 2 additions & 0 deletions acceptance/bundle/generate/python_job_and_deploy/script
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
envsubst < databricks.yml.tmpl > databricks.yml

title "Upload notebook to a workspace path"
trace $CLI workspace import "/Workspace/Users/${CURRENT_USER_NAME}/test_notebook.py" --file test_notebook.py --format AUTO --overwrite

Expand Down
Loading