Skip to content

Commit

Permalink
automation, test: add kind provider in automation test
Browse files Browse the repository at this point in the history
Signed-off-by: howard zhang <[email protected]>
  • Loading branch information
zhlhahaha committed Jan 8, 2025
1 parent 32398d0 commit d3f8e4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ if [[ $TARGET =~ openshift-.* ]]; then
elif [[ $TARGET =~ k8s-.* ]]; then
export KUBEVIRT_NUM_NODES=2
export KUBEVIRT_MEMORY_SIZE=8192
elif [[ $TARGET =~ kind-.* ]]; then
export KUBEVIRT_NUM_NODES=1
export KIND_PORT_MAPPING=31001:31002
fi

if [ ! -d "cluster-up/cluster/$KUBEVIRT_PROVIDER" ]; then
Expand All @@ -68,7 +71,6 @@ if [[ -z "$UPGRADE_FROM" ]] && [[ -z "$RANDOM_CR" ]]; then
fi
echo "Upgrading from versions: $UPGRADE_FROM"
fi
export KUBEVIRT_NUM_NODES=2

kubectl() { cluster-up/kubectl.sh "$@"; }

Expand Down

0 comments on commit d3f8e4f

Please sign in to comment.