Merge pull request #7540 from GabyCT/topic/enableiperf

gha: Add iperf network metrics
This commit is contained in:
GabyCT
2023-08-07 13:40:02 -06:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ jobs:
- name: run fio test
run: bash tests/metrics/gha-run.sh run-test-fio
- name: run iperf test
run: bash tests/metrics/gha-run.sh run-test-iperf
- name: make metrics tarball ${{ matrix.vmm }}
run: bash tests/metrics/gha-run.sh make-tarball-results

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
}