mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
This job will run on a nested virt capable Azure VM (improving test concurrency). This is just a placeholder while we adapt the test to GHA. Fixes: #6555 Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
34 lines
639 B
Bash
Executable File
34 lines
639 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (c) Microsoft Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
kata_tarball_dir="${2:-kata-artifacts}"
|
|
vfio_dir="$(dirname "$(readlink -f "$0")")"
|
|
source "${vfio_dir}/../../common.bash"
|
|
|
|
function install_dependencies() {
|
|
info "Installing the dependencies needed for running the vfio tests"
|
|
}
|
|
|
|
function run() {
|
|
info "Running cri-containerd tests using ${KATA_HYPERVISOR} hypervisor"
|
|
}
|
|
|
|
function main() {
|
|
action="${1:-}"
|
|
case "${action}" in
|
|
install-dependencies) install_dependencies ;;
|
|
run) run ;;
|
|
*) >&2 die "Invalid argument" ;;
|
|
esac
|
|
}
|
|
|
|
main "$@"
|