mirror of https://github.com/databricks/cli.git
13 lines
703 B
Plaintext
13 lines
703 B
Plaintext
|
# Installing wheels from Workspace file system is only supported starting from DBR 13.1+.
|
||
|
# But before users used older DBRs and python wheel tasks but installed it from DBFS.
|
||
|
# We still want to support older DBRs and did the trampoline workaround (https://github.com/databricks/cli/pull/635)
|
||
|
# Hence this is to test that python wheel tasks in DABs are working for older DBRs
|
||
|
export SPARK_VERSION=12.2.x-scala2.12
|
||
|
export PYTHON_WHEEL_WRAPPER=true
|
||
|
envsubst < $TESTDIR/../base/input.json.tmpl > input.json
|
||
|
cat input.json
|
||
|
$CLI bundle init $TESTDIR/../base --config-file input.json
|
||
|
trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT
|
||
|
trace $CLI bundle deploy
|
||
|
trace $CLI bundle run some_other_job
|