2025-03-02 14:27:45 +00:00
|
|
|
export DATABRICKS_CLI_TELEMETRY_PIDFILE=./telemetry.pid
|
|
|
|
export DATABRICKS_CLI_TELEMETRY_LOGFILE=./out.upload_process.txt
|
2025-02-24 17:31:43 +00:00
|
|
|
export DATABRICKS_CLI_DISABLE_TELEMETRY="true"
|
2025-02-18 15:47:47 +00:00
|
|
|
|
|
|
|
trace $CLI selftest send-telemetry
|
|
|
|
|
|
|
|
if [ -f ./telemetry.pid ]; then
|
|
|
|
echo "telemetry process was started"
|
|
|
|
exit 1
|
|
|
|
else
|
2025-03-05 12:25:29 +00:00
|
|
|
# The telemetry process should not be started because the DATABRICKS_CLI_DISABLE_TELEMETRY
|
|
|
|
# environment variable is set.
|
2025-02-18 15:47:47 +00:00
|
|
|
echo "telemetry process not started. No pid file found"
|
|
|
|
fi
|