mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
Merge pull request #10177 from GabyCT/topic/cocoghas
gha: Add k8s stability Kata CoCo GHA workflow
This commit is contained in:
30
tests/stability/gha-stability-run.sh
Executable file
30
tests/stability/gha-stability-run.sh
Executable 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 "$@"
|
||||
|
Reference in New Issue
Block a user