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

9 lines
399 B
Plaintext

export DEFAULT_SPARK_VERSION=12.2.x-scala2.12
export EXTRA_CONFIG=python_wheel_wrapper.yml
envsubst < $TESTDIR/../base/databricks.yml.tmpl > databricks.yml
cp -r $TESTDIR/../base/{$EXTRA_CONFIG,setup.py,my_test_code} .
trace cat databricks.yml
trap "errcode trace '$CLI' bundle destroy --auto-approve" EXIT
trace $CLI bundle deploy
trace $CLI bundle run some_other_job --python-params param1,param2