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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Hello from my func
Got arguments:
['my_test_code', 'one', 'two']
Hello from my func
Got arguments:
['my_test_code', 'one', 'two']
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Hello from my func
Got arguments:
['my_test_code', 'one', 'two']
UPDATED MY FUNC
Got arguments:
['my_test_code', 'one', 'two']
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID]

[TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING
[TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS
Hello from my func
Got arguments:
['my_test_code', 'one', 'two']

=== Make a change to code without version change and run the job again
>>> [CLI] bundle deploy
Expand All @@ -61,9 +58,6 @@ Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[NUMID]/run/[NUMID]

[TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" RUNNING
[TIMESTAMP] "[default] Test Wheel Job [UNIQUE_NAME]" TERMINATED SUCCESS
UPDATED MY FUNC
Got arguments:
['my_test_code', 'one', 'two']

>>> [CLI] bundle destroy --auto-approve
The following resources will be deleted:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ trace cat databricks.yml
cp -r $TESTDIR/../interactive_cluster/{setup.py,my_test_code} .
trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT
trace $CLI bundle deploy
trace $CLI bundle run some_other_job
trace $CLI bundle run some_other_job > out.$DATABRICKS_BUNDLE_ENGINE.txt

title "Make a change to code without version change and run the job again"
update_file.py my_test_code/__main__.py 'Hello from my func' 'UPDATED MY FUNC'
trace $CLI bundle deploy
trace $CLI bundle run some_other_job
trace $CLI bundle run some_other_job >> out.$DATABRICKS_BUNDLE_ENGINE.txt
Loading