mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +00:00 
			
		
		
		
	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:
		@@ -93,6 +93,14 @@ function run_test_fio() {
 | 
				
			|||||||
	bash storage/fio-k8s/fio-test-ci.sh
 | 
						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() {
 | 
					function main() {
 | 
				
			||||||
	action="${1:-}"
 | 
						action="${1:-}"
 | 
				
			||||||
	case "${action}" in
 | 
						case "${action}" in
 | 
				
			||||||
@@ -104,6 +112,7 @@ function main() {
 | 
				
			|||||||
		run-test-blogbench) run_test_blogbench ;;
 | 
							run-test-blogbench) run_test_blogbench ;;
 | 
				
			||||||
		run-test-tensorflow) run_test_tensorflow ;;
 | 
							run-test-tensorflow) run_test_tensorflow ;;
 | 
				
			||||||
		run-test-fio) run_test_fio ;;
 | 
							run-test-fio) run_test_fio ;;
 | 
				
			||||||
 | 
							run-test-iperf) run_test_iperf ;;
 | 
				
			||||||
		*) >&2 die "Invalid argument" ;;
 | 
							*) >&2 die "Invalid argument" ;;
 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user