Skip to content

Commit

Permalink
gha: Add stability gha run script
Browse files Browse the repository at this point in the history
This PR adds the stability gha run script.

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Oct 4, 2023
1 parent 54f0c8f commit 85d290a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tests/stability/gha-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/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 "$@"

0 comments on commit 85d290a

Please sign in to comment.