Skip to content

Commit ca4d444

Browse files
committed
Add SKIP_ADDON_INSTALLATION env var to canary tests
1 parent 1a45938 commit ca4d444

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/test/run-canary-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1212
GINKGO_TEST_BUILD_DIR="$SCRIPT_DIR/../../build"
1313
SECONDS=0
1414
VPC_CNI_ADDON_NAME="vpc-cni"
15+
: "${SKIP_ADDON_INSTALLATION:=false}"
1516

1617
source "$SCRIPT_DIR"/lib/cluster.sh
1718

@@ -121,9 +122,13 @@ function run_canary_tests() {
121122
echo "Starting the ginkgo test suite"
122123
load_cluster_details
123124

125+
if [[ "$SKIP_ADDON_INSTALLATION" != "true" ]]; then
124126
# Addons is supported from 1.18 onwards
125127
load_addon_details
126128
install_add_on "$LATEST_ADDON_VERSION"
129+
else
130+
echo "skipping addon installation"
131+
fi
127132

128133
attach_controller_policy_cluster_role
129134
set_env_aws_node "ENABLE_POD_ENI" "true"

0 commit comments

Comments
 (0)