metrics: Add iperf to gha run script

This PR adds iperf to gha run script.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-08-03 16:16:21 +00:00
parent 5b5caf8908
commit 3c319d8d4c

View File

@ -93,6 +93,14 @@ function run_test_fio() {
bash storage/fio-k8s/fio-test-ci.sh
}
function run_test_iperf() {
info "Running Iperf test using ${KATA_HYPERVISOR} hypervisor"
# ToDo: remove the exit once the metrics workflow is stable
exit 0
bash network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh
}
function main() {
action="${1:-}"
case "${action}" in
@ -104,6 +112,7 @@ function main() {
run-test-blogbench) run_test_blogbench ;;
run-test-tensorflow) run_test_tensorflow ;;
run-test-fio) run_test_fio ;;
run-test-iperf) run_test_iperf ;;
*) >&2 die "Invalid argument" ;;
esac
}