mirror of https://github.com/databricks/cli.git
15 lines
507 B
Plaintext
15 lines
507 B
Plaintext
trace find.py --expect 2 whl
|
|
|
|
trace $CLI bundle deploy 2>&1 | sort # sorting because 'Uploading ...whl...' messages change order
|
|
|
|
title "Expecting to find 2 wheels, same as initially provided"
|
|
trace find.py --expect 2 whl
|
|
|
|
title "Expecting 2 wheels in libraries section in /jobs/create"
|
|
trace jq -s '.[] | select(.path=="/api/2.1/jobs/create") | .body.tasks' out.requests.txt
|
|
|
|
title "Expecting 2 wheels to be uploaded"
|
|
trace jq .path < out.requests.txt | grep import | grep whl | sort
|
|
|
|
rm out.requests.txt
|