From f2fe996e63e406973de99fc558b297757d325546 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Thu, 22 Jul 2021 14:12:00 -0700 Subject: Replace virtlet with kubevirt in plugin_fw_v2 Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: Ifd8ae34b8f04da52acc4c3a6a8259d1bcd05616c --- kud/tests/_functions.sh | 4 ++++ kud/tests/plugin_fw_v2.sh | 18 ++++++++---------- kud/tests/plugin_fw_v2.yaml | 19 ++++++++++++------- 3 files changed, 24 insertions(+), 17 deletions(-) (limited to 'kud/tests') diff --git a/kud/tests/_functions.sh b/kud/tests/_functions.sh index 1a803173..ec415409 100755 --- a/kud/tests/_functions.sh +++ b/kud/tests/_functions.sh @@ -14,7 +14,11 @@ set -o pipefail FUNCTIONS_DIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")" +# Do not overwrite any user modifications to PATH when sourcing +# /etc/environment +USER_PATH=$PATH source /etc/environment +PATH=$USER_PATH:$PATH source $FUNCTIONS_DIR/_common_test.sh function print_msg { diff --git a/kud/tests/plugin_fw_v2.sh b/kud/tests/plugin_fw_v2.sh index d6254ac3..abab9004 100755 --- a/kud/tests/plugin_fw_v2.sh +++ b/kud/tests/plugin_fw_v2.sh @@ -14,10 +14,10 @@ set -o pipefail source _common_test.sh source _functions.sh -source _functions.sh # TODO KUBECONFIG may be a list of paths -kubeconfig_path="${KUBECONFIG:-$HOME/.kube/config}" +KUBECONFIG_PATH="${KUBECONFIG:-$HOME/.kube/config}" +DEMO_FOLDER="${DEMO_FOLDER:-$test_folder/../demo}" clusters="${KUD_PLUGIN_FW_CLUSTERS:-$(cat <