databricks-cli/acceptance/bundle/integration_whl/base/script

10 lines
333 B
Plaintext

export SPARK_VERSION=$DEFAULT_SPARK_VERSION
export PYTHON_WHEEL_WRAPPER=false
envsubst < input.json.tmpl > input.json
trace cat input.json
$CLI bundle init . --config-file input.json
trace cat databricks.yml
trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT
trace $CLI bundle deploy
trace $CLI bundle run some_other_job