Merge pull request #10177 from GabyCT/topic/cocoghas

gha: Add k8s stability Kata CoCo GHA workflow
This commit is contained in:
GabyCT
2024-08-20 15:12:29 -06:00
committed by GitHub
3 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#!/bin/bash
#
# Copyright (c) 2024 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
set -o errexit
set -o nounset
set -o pipefail
stability_dir="$(dirname "$(readlink -f "$0")")"
source "${stability_dir}/../common.bash"
source "${stability_dir}/../metrics/lib/common.bash"
function run_tests() {
info "Running scability test using ${KATA_HYPERVISOR} hypervisor"
bash "${stability_dir}/kubernetes_stability.sh"
}
function main() {
action="${1:-}"
case "${action}" in
run-tests) run_tests ;;
*) >&2 die "Invalid argument" ;;
esac
}
main "$@"