From 52b40ed1ac0078e715a35137aed2b74ff1aeb7ed Mon Sep 17 00:00:00 2001 From: Suraj Kota Date: Tue, 6 Apr 2021 18:31:01 -0700 Subject: [PATCH] chore(components): AWS SageMaker tests enable ssm on eks worker nodes (#5437) --- components/aws/sagemaker/tests/integration_tests/Dockerfile | 2 +- .../tests/integration_tests/scripts/run_integration_tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/aws/sagemaker/tests/integration_tests/Dockerfile b/components/aws/sagemaker/tests/integration_tests/Dockerfile index f2aadf2778..4edcf9fba2 100644 --- a/components/aws/sagemaker/tests/integration_tests/Dockerfile +++ b/components/aws/sagemaker/tests/integration_tests/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ jq # Install eksctl -RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.19.0/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp \ +RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.43.0/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp \ && mv /tmp/eksctl /usr/local/bin # Install aws-iam-authenticator diff --git a/components/aws/sagemaker/tests/integration_tests/scripts/run_integration_tests b/components/aws/sagemaker/tests/integration_tests/scripts/run_integration_tests index c66623065e..3f713980d2 100755 --- a/components/aws/sagemaker/tests/integration_tests/scripts/run_integration_tests +++ b/components/aws/sagemaker/tests/integration_tests/scripts/run_integration_tests @@ -110,7 +110,7 @@ function launch_eks() { [ ! -z "${EKS_PUBLIC_SUBNETS}" ] && eksctl_args+=( --vpc-public-subnets="${EKS_PUBLIC_SUBNETS}" ) [ ! -z "${EKS_PRIVATE_SUBNETS}" ] && eksctl_args+=( --vpc-private-subnets="${EKS_PRIVATE_SUBNETS}" ) - eksctl create cluster "${EKS_CLUSTER_NAME}" "${eksctl_args[@]}" + eksctl create cluster "${EKS_CLUSTER_NAME}" "${eksctl_args[@]}" --enable-ssm aws eks update-kubeconfig --name "$EKS_CLUSTER_NAME" --region "$REGION"