Merge pull request #10480 from GabyCT/topic/fixstabilityrun

gha: Add missing steps in Kata stability workflow
This commit is contained in:
GabyCT 2024-10-31 09:57:33 -06:00 committed by GitHub
commit a3d594d526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,8 @@ set -o pipefail
stability_dir="$(dirname "$(readlink -f "$0")")"
source "${stability_dir}/../common.bash"
source "${stability_dir}/../metrics/lib/common.bash"
source "${stability_dir}/../gha-run-k8s-common.sh"
source "${stability_dir}/../integration/kubernetes/gha-run.sh"
function run_tests() {
info "Running scability test using ${KATA_HYPERVISOR} hypervisor"
@ -27,7 +29,18 @@ function run_tests() {
function main() {
action="${1:-}"
case "${action}" in
install-azure-cli) install_azure_cli ;;
login-azure) login_azure ;;
create-cluster) create_cluster ;;
install-bats) install_bats ;;
install-kubectl) install_kubectl ;;
get-cluster-credentials) get_cluster_credentials ;;
deploy-snapshotter) deploy_snapshotter ;;
deploy-kata-aks) deploy_kata "aks" ;;
deploy-coco-kbs) deploy_coco_kbs ;;
install-kbs-client) install_kbs_client ;;
run-tests) run_tests ;;
delete-cluster) cleanup "aks" ;;
*) >&2 die "Invalid argument" ;;
esac
}