Files
kata-containers/tests/stability/gha-run.sh
Gabriela Cervantes 7963298ba2 gha: Add stability gha run script
This PR adds the stability gha run script.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
(cherry picked from commit 85d290a048)
2023-10-06 15:26:51 +02:00

34 lines
667 B
Bash
Executable File

#!/bin/bash
#
# Copyright (c) 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
set -o errexit
set -o nounset
set -o pipefail
kata_tarball_dir="${2:-kata-artifacts}"
stability_dir="$(dirname "$(readlink -f "$0")")"
source "${stability_dir}/../common.bash"
function run() {
info "Running soak parallel stability tests using ${KATA_HYPERVISOR} hypervisor"
# export ITERATIONS=2 MAX_CONTAINERS=20
# bash "${stability_dir}/soak_parallel_rm.sh"
}
function main() {
action="${1:-}"
case "${action}" in
install-kata) install_kata ;;
enabling-hypervisor) enabling_hypervisor ;;
run) run ;;
*) >&2 die "Invalid argument" ;;
esac
}
main "$@"