Skip to content

Add SKIP_ADDON_INSTALLATION env var to canary tests #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/test/run-canary-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
GINKGO_TEST_BUILD_DIR="$SCRIPT_DIR/../../build"
SECONDS=0
VPC_CNI_ADDON_NAME="vpc-cni"
: "${SKIP_ADDON_INSTALLATION:=false}"

source "$SCRIPT_DIR"/lib/cluster.sh

Expand Down Expand Up @@ -121,9 +122,13 @@ function run_canary_tests() {
echo "Starting the ginkgo test suite"
load_cluster_details

if [[ "$SKIP_ADDON_INSTALLATION" != "true" ]]; then
# Addons is supported from 1.18 onwards
load_addon_details
install_add_on "$LATEST_ADDON_VERSION"
else
echo "skipping addon installation"
fi

attach_controller_policy_cluster_role
set_env_aws_node "ENABLE_POD_ENI" "true"
Expand Down