X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fkata%2Fkata.sh;h=4601e7365c75c027ee792f3ff50187a64b4f8c76;hb=751ff5036c84ad632a55157a857295a3b40e984e;hp=75ca024cd0fad57bfa0510781cec97128ce6b2e7;hpb=b94a4a7a41fbc3d2ce5248cf036250f428413ae8;p=icn.git diff --git a/deploy/kata/kata.sh b/deploy/kata/kata.sh index 75ca024..4601e73 100755 --- a/deploy/kata/kata.sh +++ b/deploy/kata/kata.sh @@ -65,14 +65,14 @@ function clean_webhook { } function is_kata_deployed { - local -r cluster_name=${CLUSTER_NAME:-e2etest} + local -r cluster_name=${CLUSTER_NAME:-icn} local -r cluster_kubeconfig="${BUILDDIR}/${cluster_name}.conf" kubectl --kubeconfig=${cluster_kubeconfig} get runtimeclass/kata-qemu } function test_kata { # Create a temporary kubeconfig file for the tests - local -r cluster_name=${CLUSTER_NAME:-e2etest} + local -r cluster_name=${CLUSTER_NAME:-icn} local -r cluster_kubeconfig="${BUILDDIR}/${cluster_name}.conf" clusterctl -n metal3 get kubeconfig ${cluster_name} >${cluster_kubeconfig} @@ -83,7 +83,7 @@ function test_kata { clone_kud_repository pushd ${KUDPATH}/kud/tests failed_kud_tests="" - KUBECONFIG=${cluster_kubeconfig} bash kata.sh || failed_kud_tests="${failed_kud_tests} ${test}" + KUBECONFIG=${cluster_kubeconfig} bash kata.sh || failed_kud_tests="${failed_kud_tests} kata" popd clean_webhook ${cluster_name} if [[ ! -z "$failed_kud_tests" ]]; then @@ -102,7 +102,7 @@ case $1 in Usage: $(basename $0) COMMAND The "test" command looks for the CLUSTER_NAME variable in the -environment (default: "e2etest"). This should be the name of the +environment (default: "icn"). This should be the name of the Cluster resource to execute the tests in. Commands: