k8s-reboot-coordinator/scripts/run-tests.sh

11 lines
154 B
Bash
Executable File

#!/bin/sh
SELF=$(realpath "$0")
if [ -z "${KUBECONFIG}" ]; then
KUBECONFIG="$("${SELF%/*}"/start-k3d.sh)"
export KUBECONFIG
fi
cargo test "$@"