mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 15:58:25 +00:00
Merge pull request #7540 from GabyCT/topic/enableiperf
gha: Add iperf network metrics
This commit is contained in:
3
.github/workflows/run-metrics.yaml
vendored
3
.github/workflows/run-metrics.yaml
vendored
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user