Skip to content

Commit

Permalink
scripts: bump up "aws-k8s-tester" v1.1.4
Browse files Browse the repository at this point in the history
Includes various updates and improvements.

Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho authored and mogren committed May 5, 2020
1 parent 7f9b16d commit 5ca609d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/lib/aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ensure_ecr_repo() {
}

ensure_aws_k8s_tester() {
TESTER_RELEASE=${TESTER_RELEASE:-v1.0.0}
TESTER_RELEASE=${TESTER_RELEASE:-v1.1.4}
TESTER_DOWNLOAD_URL=https://github.com/aws/aws-k8s-tester/releases/download/$TESTER_RELEASE/aws-k8s-tester-$TESTER_RELEASE-$OS-$ARCH

# Download aws-k8s-tester if not yet
Expand Down
6 changes: 3 additions & 3 deletions scripts/lib/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

function down-test-cluster() {
if [[ -n "${CIRCLE_JOB:-}" ]]; then
$TESTER_PATH eks delete cluster --path $CLUSTER_CONFIG || (echo "failed!" && exit 1)
$TESTER_PATH eks delete cluster --enable-prompt=false --path $CLUSTER_CONFIG || (echo "failed!" && exit 1)
else
echo -n "Deleting cluster $CLUSTER_NAME (this may take ~10 mins) ... "
$TESTER_PATH eks delete cluster --path $CLUSTER_CONFIG >>$CLUSTER_MANAGE_LOG_PATH 2>&1 ||
$TESTER_PATH eks delete cluster --enable-prompt=false --path $CLUSTER_CONFIG >>$CLUSTER_MANAGE_LOG_PATH 2>&1 ||
(echo "failed. Check $CLUSTER_MANAGE_LOG_PATH." && exit 1)
echo "ok."
fi
Expand All @@ -32,7 +32,7 @@ function up-test-cluster() {
$TESTER_PATH eks create config --path $CLUSTER_CONFIG 1>&2

if [[ -n "${CIRCLE_JOB:-}" ]]; then
$TESTER_PATH eks create cluster --path $CLUSTER_CONFIG || (echo "failed!" && exit 1)
$TESTER_PATH eks create cluster --enable-prompt=false --path $CLUSTER_CONFIG || (echo "failed!" && exit 1)
else
echo -n "Creating cluster $CLUSTER_NAME (this may take ~20 mins. details: tail -f $CLUSTER_MANAGE_LOG_PATH)... "
$TESTER_PATH eks create cluster --path $CLUSTER_CONFIG >>$CLUSTER_MANAGE_LOG_PATH 1>&2 ||
Expand Down

0 comments on commit 5ca609d

Please sign in to comment.