Skip to content

Commit 0740e92

Browse files
committed
fix EKS tests setup in ECS tests stage
1 parent 0f715dd commit 0740e92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

buildspec_load_test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ phases:
5454
- python -m venv venv
5555
- source venv/bin/activate
5656
- pip install -r ./load_tests/requirements.txt
57-
- aws eks update-kubeconfig --name $EKS_CLUSTER_NAME
57+
- |
58+
if [ "${PLATFORM}" == "EKS" ]; then
59+
aws eks update-kubeconfig --name $EKS_CLUSTER_NAME
60+
fi
5861
# Create and set up related testing resources
5962
- python ./load_tests/load_test.py create_testing_resources
6063
- source ./load_tests/setup_test_environment.sh

0 commit comments

Comments
 (0)