Contains stuff to test KubeVirt i.e. on an openshift cluster.
Script to deploy and test kubevirt on an openshift cluster.
Usage examples:
Testing a certain kubevirt release, i.e. 0.45.0
export BIN_DIR=/tmp/<your-bin-dir>
export DOCKER_PREFIX=quay.io/kubevirt
export DOCKER_TAG="v0.45.0"
./hack/kubevirt-testing.sh deploy_release "v0.45.0"
./hack/kubevirt-testing.sh run_tests
is same as
export BIN_DIR=/tmp/<your-bin-dir>
export DOCKER_PREFIX=quay.io/kubevirt
./hack/kubevirt-testing.sh test_kubevirt_release "0.45"
also we can then
./hack/kubevirt-testing.sh undeploy_release "v0.45.0"
Testing the nightly build
export BIN_DIR=/tmp/<your-bin-dir>
./hack/kubevirt-testing.sh test_kubevirt_nightly
is the same as
export BIN_DIR=/tmp/<your-bin-dir>
./hack/kubevirt-testing.sh deploy_kubevirt_nightly_test_setup
./hack/kubevirt-testing.sh run_tests
also we can then
./hack/kubevirt-testing.sh undeploy_kubevirt_nightly_test_setup