mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 23:07:55 +00:00
gpu: Add selector for k8s tests
We want to reuse the current run_tests with GPUs, introduce a var that will define what to run. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
@@ -289,7 +289,7 @@ function run_tests() {
|
||||
if [[ "${KATA_HYPERVISOR}" = "dragonball" ]] && [[ "${SNAPSHOTTER}" = "devmapper" ]]; then
|
||||
echo "Skipping tests for ${KATA_HYPERVISOR} using devmapper"
|
||||
else
|
||||
bash run_kubernetes_tests.sh
|
||||
bash "${K8STESTS}"
|
||||
fi
|
||||
popd
|
||||
}
|
||||
@@ -589,7 +589,14 @@ function main() {
|
||||
deploy-kata-zvsi) deploy_kata "zvsi" ;;
|
||||
deploy-snapshotter) deploy_snapshotter ;;
|
||||
report-tests) report_tests ;;
|
||||
run-tests) run_tests ;;
|
||||
run-tests)
|
||||
K8STESTS=run_kubernetes_tests.sh
|
||||
run_tests
|
||||
;;
|
||||
run-nv-tests)
|
||||
K8STESTS=run_kubernetes_nv_tests.sh
|
||||
run_tests
|
||||
;;
|
||||
run-tests-kcli) run_tests "kcli" ;;
|
||||
collect-artifacts) collect_artifacts ;;
|
||||
cleanup) cleanup ;;
|
||||
|
Reference in New Issue
Block a user