mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
metrics: Add tensorflow function in gha-run script
This PR adds the tensorflow function in gha-run script in order to be triggered in the gha. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
67a6fff4f7
commit
e64edf41e5
@ -83,6 +83,15 @@ function run_test_blogbench() {
|
|||||||
check_metrics
|
check_metrics
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function run_test_tensorflow() {
|
||||||
|
info "Running TensorFlow test using ${KATA_HYPERVISOR} hypervisor"
|
||||||
|
# ToDo: remove the exit once the metrics workflow is stable
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
create_symbolic_links ${KATA_HYPERVISOR}
|
||||||
|
bash tests/metrics/machine_learning/tensorflow.sh 1 20
|
||||||
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
@ -92,6 +101,7 @@ function main() {
|
|||||||
run-test-memory-usage) run_test_memory_usage ;;
|
run-test-memory-usage) run_test_memory_usage ;;
|
||||||
run-test-memory-usage-inside-container) run_test_memory_usage_inside_container ;;
|
run-test-memory-usage-inside-container) run_test_memory_usage_inside_container ;;
|
||||||
run-test-blogbench) run_test_blogbench ;;
|
run-test-blogbench) run_test_blogbench ;;
|
||||||
|
run-test-tensorflow) run_test_tensorflow ;;
|
||||||
*) >&2 die "Invalid argument" ;;
|
*) >&2 die "Invalid argument" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user