mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 05:34:46 +00:00
tests: Do not call install_check_metrics
when installing kata
The `install_kata` function was moved from the metrics' `gha-run.sh`
file to the `common.bash` in the commit 3ffd48bc16
, but I didn't notice
that it brought with it a call to `install_check_metrics`, which is
totally unrelated to installing Kata Containers.
Let's remove the call so the function is a little bit less specific, and
move the call to install_check_metrics to the metrics `gha-run.sh` file.
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
e149a3c783
commit
13715db1f8
@ -318,7 +318,6 @@ function install_kata() {
|
|||||||
|
|
||||||
check_containerd_config_for_kata
|
check_containerd_config_for_kata
|
||||||
restart_containerd_service
|
restart_containerd_service
|
||||||
install_checkmetrics
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_containerd_config_for_kata() {
|
function check_containerd_config_for_kata() {
|
||||||
|
@ -95,7 +95,7 @@ function run_test_tensorflow() {
|
|||||||
function main() {
|
function main() {
|
||||||
action="${1:-}"
|
action="${1:-}"
|
||||||
case "${action}" in
|
case "${action}" in
|
||||||
install-kata) install_kata ;;
|
install-kata) install_kata && install_checkmetrics ;;
|
||||||
make-tarball-results) make_tarball_results ;;
|
make-tarball-results) make_tarball_results ;;
|
||||||
run-test-launchtimes) run_test_launchtimes ;;
|
run-test-launchtimes) run_test_launchtimes ;;
|
||||||
run-test-memory-usage) run_test_memory_usage ;;
|
run-test-memory-usage) run_test_memory_usage ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user