databricks-cli/bundle/tests/python_wheel/environment_key/databricks.yml

27 lines
615 B
YAML
Raw Normal View History

bundle:
name: environment_key
artifacts:
my_test_code:
type: whl
path: "./my_test_code"
build: "python3 setup.py bdist_wheel"
resources:
jobs:
test_job:
name: "My Wheel Job"
tasks:
- task_key: TestTask
existing_cluster_id: "0717-132531-5opeqon1"
python_wheel_task:
package_name: "my_test_code"
entry_point: "run"
environment_key: "test_env"
environments:
- environment_key: "test_env"
spec:
client: "1"
dependencies:
- ./my_test_code/dist/*.whl