1#!/usr/bin/env bash 2# shellcheck disable=SC1091 # the path is created in build-kdl and 3# here is check if exist 4# shellcheck disable=SC2086 # we want the arguments to be expanded 5 6if ! [ -f /ci-kdl/bin/activate ]; then 7 echo -e "ci-kdl not installed; not monitoring temperature" 8 exit 0 9fi 10 11KDL_ARGS=" 12 --output-file=${RESULTS_DIR}/kdl.json 13 --log-level=WARNING 14 --num-samples=-1 15" 16 17source /ci-kdl/bin/activate 18exec /ci-kdl/bin/ci-kdl ${KDL_ARGS} 19