mirror of https://github.com/databricks/cli.git
13 lines
549 B
Plaintext
13 lines
549 B
Plaintext
|
export DATA_SECURITY_MODE=SINGLE_USER
|
||
|
envsubst < $TESTDIR/../interactive_cluster/databricks.yml.tmpl > databricks.yml
|
||
|
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
|
||
|
|
||
|
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
|