mirror of https://github.com/databricks/cli.git
20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
export DATABRICKS_CLI_TELEMETRY_PIDFILE=./telemetry.pid
|
|
export DATABRICKS_CLI_TELEMETRY_LOGFILE=./out.upload_process.txt
|
|
|
|
# Unset the token which is configured by default
|
|
# in acceptance tests
|
|
export DATABRICKS_TOKEN=""
|
|
|
|
export DATABRICKS_CLIENT_ID=client_id
|
|
export DATABRICKS_CLIENT_SECRET=client_secret
|
|
|
|
trace $CLI selftest send-telemetry
|
|
|
|
echo "waiting for telemetry process to finish"
|
|
|
|
# Wait for the child telemetry process to finish
|
|
wait_pid.py $(cat ./telemetry.pid)
|
|
|
|
# cleanup the pid file
|
|
rm ./telemetry.pid
|