ci: add reset_runtime to cleanup

Adding reset_cleanup to cleanup action so that it is done automatically
without the need to run yet another DS just to reset the runtime.

This is now part of the lifecycle hook when issuing kata-deploy.sh
cleanup

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
Zvonko Kaiser 2024-06-20 18:05:52 +00:00 committed by Fabiano Fidêncio
parent 1221ab73f9
commit 8d9bec2e01
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B

View File

@ -706,6 +706,7 @@ function main() {
cleanup_cri_runtime "$runtime"
kubectl label node "$NODE_NAME" --overwrite katacontainers.io/kata-runtime=cleanup
remove_artifacts
reset_runtime "$runtime"
;;
reset)
reset_runtime $runtime